Change NEON vldN/vstN intrinsics to specify "N" as an immediate operand

instead of having a separate intrinsic for each value.

llvm-svn: 74958
This commit is contained in:
Bob Wilson 2009-07-07 22:27:20 +00:00
parent cc1fed3111
commit b1a1437a01
1 changed files with 12 additions and 20 deletions

View File

@ -291,27 +291,19 @@ def int_arm_neon_vmovlu : Neon_1Arg_Long_Intrinsic;
let TargetPrefix = "arm" in {
// De-interleaving vector loads from N-element structures.
def int_arm_neon_vld3i : Intrinsic<[llvm_anyint_ty],
[llvm_ptr_ty], [IntrReadArgMem]>;
def int_arm_neon_vld3f : Intrinsic<[llvm_anyfloat_ty],
[llvm_ptr_ty], [IntrReadArgMem]>;
def int_arm_neon_vld4i : Intrinsic<[llvm_anyint_ty],
[llvm_ptr_ty], [IntrReadArgMem]>;
def int_arm_neon_vld4f : Intrinsic<[llvm_anyfloat_ty],
[llvm_ptr_ty], [IntrReadArgMem]>;
def int_arm_neon_vldi : Intrinsic<[llvm_anyint_ty],
[llvm_ptr_ty, llvm_i32_ty],
[IntrReadArgMem]>;
def int_arm_neon_vldf : Intrinsic<[llvm_anyfloat_ty],
[llvm_ptr_ty, llvm_i32_ty],
[IntrReadArgMem]>;
// Interleaving vector stores from N-element structures.
def int_arm_neon_vst3i : Intrinsic<[llvm_void_ty],
[llvm_ptr_ty, llvm_anyint_ty],
def int_arm_neon_vsti : Intrinsic<[llvm_void_ty],
[llvm_ptr_ty, llvm_anyint_ty, llvm_i32_ty],
[IntrWriteArgMem]>;
def int_arm_neon_vst3f : Intrinsic<[llvm_void_ty],
[llvm_ptr_ty, llvm_anyfloat_ty],
[IntrWriteArgMem]>;
def int_arm_neon_vst4i : Intrinsic<[llvm_void_ty],
[llvm_ptr_ty, llvm_anyint_ty],
[IntrWriteArgMem]>;
def int_arm_neon_vst4f : Intrinsic<[llvm_void_ty],
[llvm_ptr_ty, llvm_anyfloat_ty],
def int_arm_neon_vstf : Intrinsic<[llvm_void_ty],
[llvm_ptr_ty, llvm_anyfloat_ty,llvm_i32_ty],
[IntrWriteArgMem]>;
// Vector Table Lookup