diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2013-10-14 14:37:20 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2013-10-14 14:37:20 +0000 |
commit | 942827b1139c432239648ef54d1df5074eac36ec (patch) | |
tree | b7b5fa3a806a4e0fff855feb7367a28a394f19ff /include | |
parent | 0d1e2aebe641fc26bba5d895bbcadcac6f23aaec (diff) | |
download | external_llvm-942827b1139c432239648ef54d1df5074eac36ec.zip external_llvm-942827b1139c432239648ef54d1df5074eac36ec.tar.gz external_llvm-942827b1139c432239648ef54d1df5074eac36ec.tar.bz2 |
[AArch64] Add support for NEON scalar integer compare instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/IntrinsicsAArch64.td | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/llvm/IR/IntrinsicsAArch64.td b/include/llvm/IR/IntrinsicsAArch64.td index 8fcef7f..a2f4905 100644 --- a/include/llvm/IR/IntrinsicsAArch64.td +++ b/include/llvm/IR/IntrinsicsAArch64.td @@ -167,4 +167,28 @@ def int_aarch64_neon_vcvtf64_u64 : // Scalar Floating-point Reciprocal Exponent def int_aarch64_neon_vrecpx : Neon_1Arg_Intrinsic; + +class Neon_ICmp_Intrinsic + : Intrinsic<[llvm_v1i64_ty], [llvm_v1i64_ty, llvm_v1i64_ty], [IntrNoMem]>; + +// Scalar Integer Compare Equal +def int_aarch64_neon_vceq : Neon_ICmp_Intrinsic; + +// Scalar Integer Compare Greater-Than or Equal +def int_aarch64_neon_vcge : Neon_ICmp_Intrinsic; +def int_aarch64_neon_vchs : Neon_ICmp_Intrinsic; + +// Scalar Integer Compare Less-Than or Equal +def int_aarch64_neon_vclez : Neon_ICmp_Intrinsic; + +// Scalar Compare Less-Than +def int_aarch64_neon_vcltz : Neon_ICmp_Intrinsic; + +// Scalar Compare Greater-Than +def int_aarch64_neon_vcgt : Neon_ICmp_Intrinsic; +def int_aarch64_neon_vchi : Neon_ICmp_Intrinsic; + +// Scalar Compare Bitwise Test Bits +def int_aarch64_neon_vtstd : Neon_ICmp_Intrinsic; + } |