summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-09-10 17:31:40 +0000
committerDale Johannesen <dalej@apple.com>2008-09-10 17:31:40 +0000
commitfb0e1323e2759b177df8b57b03475f1135b5000f (patch)
tree224eb1d3ddbceef1d30b11335f01c881720b30f6 /lib/Target
parent3ee25dca5b2f321103e879fb125b7870683e7085 (diff)
downloadllvm-fb0e1323e2759b177df8b57b03475f1135b5000f.tar.gz
llvm-fb0e1323e2759b177df8b57b03475f1135b5000f.tar.bz2
llvm-fb0e1323e2759b177df8b57b03475f1135b5000f.tar.xz
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
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp5
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()) {