OSDN Git Service

[Power9] Add __float128 support in the backend for bitcast to a i128
authorStefan Pintilie <stefanp@ca.ibm.com>
Tue, 23 Oct 2018 17:11:36 +0000 (17:11 +0000)
committerStefan Pintilie <stefanp@ca.ibm.com>
Tue, 23 Oct 2018 17:11:36 +0000 (17:11 +0000)
commitc0de197df0d1b5178d40fc730466325475a4aca7
treee6bf0bebdf8757b2b3c309c4ac9f065ff7ac1701
parent6e614234d5d208c537a379cadb4fa02b468e339f
[Power9] Add __float128 support in the backend for bitcast to a i128

Add support to allow bit-casting from f128 to i128 and then
extracting 64 bits from the result.

Differential Revision: https://reviews.llvm.org/D49507

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345053 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/PowerPC/PPCInstrVSX.td
test/CodeGen/PowerPC/f128-bitcast.ll [new file with mode: 0644]