diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-04-01 17:52:07 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-04-01 17:52:07 +0000 |
commit | 46479197843ecb651adc9417c49bbd1b00acfcb6 (patch) | |
tree | 143df888333c2baabf6cf07c8ef7297b86b5035c /lib/Target/PowerPC/PPCSubtarget.cpp | |
parent | a1f4290ac94f34173e3561c717390de07dccc646 (diff) |
Add more PPC floating-point conversion instructions
The P7 and A2 have additional floating-point conversion instructions which
allow a direct two-instruction sequence (plus load/store) to convert from all
combinations (signed/unsigned i32/i64) <--> (float/double) (on previous cores,
only some combinations were directly available).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCSubtarget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp index 57e18ed07e..1b7150fd37 100644 --- a/lib/Target/PowerPC/PPCSubtarget.cpp +++ b/lib/Target/PowerPC/PPCSubtarget.cpp @@ -41,6 +41,7 @@ PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU, , HasSTFIWX(false) , HasLFIWAX(false) , HasFPRND(false) + , HasFPCVT(false) , HasISEL(false) , HasPOPCNTD(false) , HasLDBRX(false) |