summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-11-15 06:51:10 +0000
committerCraig Topper <craig.topper@gmail.com>2012-11-15 06:51:10 +0000
commit61d045781adc36c252f987ac6f91264be169d972 (patch)
tree6612729205c9ab1e846bfc74b4d9187b663d9370 /llvm/lib/Target/ARM
parent5cc9ebb7232383476d0dded69104838e6a15eb70 (diff)
downloadbcm5719-llvm-61d045781adc36c252f987ac6f91264be169d972.tar.gz
bcm5719-llvm-61d045781adc36c252f987ac6f91264be169d972.zip
Add llvm.ceil, llvm.trunc, llvm.rint, llvm.nearbyint intrinsics.
llvm-svn: 168025
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index ff99b04078e..7b4d9fdaf95 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -515,6 +515,10 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setOperationAction(ISD::FLOG10, MVT::v4f32, Expand);
setOperationAction(ISD::FEXP, MVT::v4f32, Expand);
setOperationAction(ISD::FEXP2, MVT::v4f32, Expand);
+ setOperationAction(ISD::FCEIL, MVT::v4f32, Expand);
+ setOperationAction(ISD::FTRUNC, MVT::v4f32, Expand);
+ setOperationAction(ISD::FRINT, MVT::v4f32, Expand);
+ setOperationAction(ISD::FNEARBYINT, MVT::v4f32, Expand);
setOperationAction(ISD::FFLOOR, MVT::v4f32, Expand);
// Neon does not support some operations on v1i64 and v2i64 types.
OpenPOWER on IntegriCloud