diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2013-11-11 18:04:07 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2013-11-11 18:04:07 +0000 |
commit | 30b2a19f3be840da1bc4aefcaabcbddd2e0130fc (patch) | |
tree | 160e9b0f481458172b70097abdf02057a91541b5 /include/llvm/IR | |
parent | 028e4d27b1afc62be0687e9c3b57992c36852938 (diff) | |
download | external_llvm-30b2a19f3be840da1bc4aefcaabcbddd2e0130fc.zip external_llvm-30b2a19f3be840da1bc4aefcaabcbddd2e0130fc.tar.gz external_llvm-30b2a19f3be840da1bc4aefcaabcbddd2e0130fc.tar.bz2 |
[AArch64] Add support for NEON scalar floating-point convert to fixed-point instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR')
-rw-r--r-- | include/llvm/IR/IntrinsicsAArch64.td | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/llvm/IR/IntrinsicsAArch64.td b/include/llvm/IR/IntrinsicsAArch64.td index b66bdcc..0bff987 100644 --- a/include/llvm/IR/IntrinsicsAArch64.td +++ b/include/llvm/IR/IntrinsicsAArch64.td @@ -272,6 +272,18 @@ def int_aarch64_neon_vcvtf32_n_u32 : def int_aarch64_neon_vcvtf64_n_u64 : Intrinsic<[llvm_v1f64_ty], [llvm_v1i64_ty, llvm_i32_ty], [IntrNoMem]>; +// Scalar Floating-point Convert To Signed Fixed-point (Immediate) +def int_aarch64_neon_vcvts_n_s32_f32 : + Intrinsic<[llvm_v1i32_ty], [llvm_v1f32_ty, llvm_i32_ty], [IntrNoMem]>; +def int_aarch64_neon_vcvtd_n_s64_f64 : + Intrinsic<[llvm_v1i64_ty], [llvm_v1f64_ty, llvm_i32_ty], [IntrNoMem]>; + +// Scalar Floating-point Convert To Unsigned Fixed-point (Immediate) +def int_aarch64_neon_vcvts_n_u32_f32 : + Intrinsic<[llvm_v1i32_ty], [llvm_v1f32_ty, llvm_i32_ty], [IntrNoMem]>; +def int_aarch64_neon_vcvtd_n_u64_f64 : + Intrinsic<[llvm_v1i64_ty], [llvm_v1f64_ty, llvm_i32_ty], [IntrNoMem]>; + class Neon_SHA_Intrinsic : Intrinsic<[llvm_v4i32_ty], [llvm_v4i32_ty, llvm_v1i32_ty, llvm_v4i32_ty], [IntrNoMem]>; |