diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2013-12-11 21:03:43 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2013-12-11 21:03:43 +0000 |
commit | 73f468218fc56a0acf9cb9c38eb74b138e955ff5 (patch) | |
tree | 9909a700335d59b93b079dfb6ce0f9de7ae33099 /include | |
parent | c3e5d72ba83f607d7e1409027f7593c689fc70d0 (diff) | |
download | llvm-73f468218fc56a0acf9cb9c38eb74b138e955ff5.tar.gz llvm-73f468218fc56a0acf9cb9c38eb74b138e955ff5.tar.bz2 llvm-73f468218fc56a0acf9cb9c38eb74b138e955ff5.tar.xz |
[AArch64] Refactor the NEON scalar floating-point reciprocal step and
floating-point reciprocal square root step LLVM AArch64 intrinsics to
use f32/f64 types, rather than their vector equivalents.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/IntrinsicsAArch64.td | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/IR/IntrinsicsAArch64.td b/include/llvm/IR/IntrinsicsAArch64.td index fb31452fb2..52b651ea9b 100644 --- a/include/llvm/IR/IntrinsicsAArch64.td +++ b/include/llvm/IR/IntrinsicsAArch64.td @@ -272,6 +272,16 @@ def int_aarch64_neon_vrecpx : def int_aarch64_neon_vrsqrte : Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>], [IntrNoMem]>; +// Scalar Floating-point Reciprocal Step +def int_aarch64_neon_vrecps : + Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>, LLVMMatchType<0>], + [IntrNoMem]>; + +// Scalar Floating-point Reciprocal Square Root Step +def int_aarch64_neon_vrsqrts : + Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>, LLVMMatchType<0>], + [IntrNoMem]>; + class Neon_Cmp_Intrinsic : Intrinsic<[llvm_anyvector_ty], [llvm_anyvector_ty, llvm_anyvector_ty], [IntrNoMem]>; |