summaryrefslogtreecommitdiffstats
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
commit4cc893bab69bca7f22c08ac93745407725c77c44 (patch)
treeba5ac4bfc5d2a01234ae15cd2a81b5c6178ff4f6
parent222018da7be9aeead0fcc1f42bb541357da57a53 (diff)
downloadbcm5719-llvm-4cc893bab69bca7f22c08ac93745407725c77c44.tar.gz
bcm5719-llvm-4cc893bab69bca7f22c08ac93745407725c77c44.zip
Handle new intrinsics with vector arguments.
Patch by Paul Redmond. llvm-svn: 56059
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 8ce28bf9ba1..f30490a0bc5 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/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()) {
OpenPOWER on IntegriCloud