diff options
| author | Cameron Zwarich <zwarich@apple.com> | 2011-07-08 21:39:21 +0000 |
|---|---|---|
| committer | Cameron Zwarich <zwarich@apple.com> | 2011-07-08 21:39:21 +0000 |
| commit | f03fa189ca73a664fb10cf1bc8447d8453edf810 (patch) | |
| tree | e0eed8377e924c9f1a203f2999cc9df109454645 /llvm/lib/Target/Alpha | |
| parent | 964cb5feb0885460c50ac4c0962d108cb193ba1e (diff) | |
| download | bcm5719-llvm-f03fa189ca73a664fb10cf1bc8447d8453edf810.tar.gz bcm5719-llvm-f03fa189ca73a664fb10cf1bc8447d8453edf810.zip | |
Add an intrinsic and codegen support for fused multiply-accumulate. The intent
is to use this for architectures that have a native FMA instruction.
llvm-svn: 134742
Diffstat (limited to 'llvm/lib/Target/Alpha')
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp index daf95551896..de003fb4c65 100644 --- a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp +++ b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp @@ -122,6 +122,9 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) setOperationAction(ISD::FPOW , MVT::f32, Expand); setOperationAction(ISD::FPOW , MVT::f64, Expand); + setOperationAction(ISD::FMA, MVT::f64, Expand); + setOperationAction(ISD::FMA, MVT::f32, Expand); + setOperationAction(ISD::SETCC, MVT::f32, Promote); setOperationAction(ISD::BITCAST, MVT::f32, Promote); |

