summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-08 06:43:00 +0000
committerChris Lattner <sabre@nondot.org>2006-09-08 06:43:00 +0000
commit02a7d09b409e7f2832fbc6f253d04dc36d54f79e (patch)
tree4448ad8a6e58b5e9144e511236a16f889f33c7b8
parent33b73f9cfc3706fd2fff3cb1605084e449b526ad (diff)
downloadbcm5719-llvm-02a7d09b409e7f2832fbc6f253d04dc36d54f79e.tar.gz
bcm5719-llvm-02a7d09b409e7f2832fbc6f253d04dc36d54f79e.zip
add powi intrinsics.
llvm-svn: 30176
-rw-r--r--llvm/include/llvm/Intrinsics.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Intrinsics.td b/llvm/include/llvm/Intrinsics.td
index 3b1fae3be30..3169c22a057 100644
--- a/llvm/include/llvm/Intrinsics.td
+++ b/llvm/include/llvm/Intrinsics.td
@@ -171,6 +171,9 @@ let Properties = [IntrNoMem] in {
llvm_double_ty, llvm_double_ty]>;
def int_sqrt_f32 : Intrinsic<[llvm_float_ty , llvm_float_ty]>;
def int_sqrt_f64 : Intrinsic<[llvm_double_ty, llvm_double_ty]>;
+
+ def int_powi_f32 : Intrinsic<[llvm_float_ty , llvm_float_ty, llvm_int_ty]>;
+ def int_powi_f64 : Intrinsic<[llvm_double_ty, llvm_double_ty, llvm_int_ty]>;
}
// NOTE: these are internal interfaces.
OpenPOWER on IntegriCloud