diff options
author | Dale Johannesen <dalej@apple.com> | 2008-09-10 17:31:40 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-09-10 17:31:40 +0000 |
commit | fb0e1323e2759b177df8b57b03475f1135b5000f (patch) | |
tree | 224eb1d3ddbceef1d30b11335f01c881720b30f6 | |
parent | 3ee25dca5b2f321103e879fb125b7870683e7085 (diff) |
Handle new intrinsics with vector arguments.
Patch by Paul Redmond.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56059 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 8ce28bf9ba..f30490a0bc 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -552,6 +552,11 @@ X86TargetLowering::X86TargetLowering(X86TargetMachine &TM) setOperationAction(ISD::ROTR, (MVT::SimpleValueType)VT, Expand); setOperationAction(ISD::BSWAP, (MVT::SimpleValueType)VT, Expand); setOperationAction(ISD::VSETCC, (MVT::SimpleValueType)VT, Expand); + setOperationAction(ISD::FLOG, (MVT::SimpleValueType)VT, Expand); + setOperationAction(ISD::FLOG2, (MVT::SimpleValueType)VT, Expand); + setOperationAction(ISD::FLOG10, (MVT::SimpleValueType)VT, Expand); + setOperationAction(ISD::FEXP, (MVT::SimpleValueType)VT, Expand); + setOperationAction(ISD::FEXP2, (MVT::SimpleValueType)VT, Expand); } if (Subtarget->hasMMX()) { |