[llvm-commits] CVS: llvm/include/llvm/IntrinsicsPowerPC.td
Chris Lattner
lattner at cs.uiuc.edu
Tue Apr 4 18:16:06 PDT 2006
Changes in directory llvm/include/llvm:
IntrinsicsPowerPC.td updated: 1.19 -> 1.20
---
Log message:
Get the types right, third time is the charm. Add vsl.
---
Diffs of the changes: (+5 -2)
IntrinsicsPowerPC.td | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/IntrinsicsPowerPC.td
diff -u llvm/include/llvm/IntrinsicsPowerPC.td:1.19 llvm/include/llvm/IntrinsicsPowerPC.td:1.20
--- llvm/include/llvm/IntrinsicsPowerPC.td:1.19 Tue Apr 4 19:49:14 2006
+++ llvm/include/llvm/IntrinsicsPowerPC.td Tue Apr 4 20:15:54 2006
@@ -336,7 +336,7 @@
Intrinsic<[llvm_v16i8_ty, llvm_v4i32_ty, llvm_v4i32_ty],
[InstrNoMem]>;
def int_ppc_altivec_vpkswus : GCCBuiltin<"__builtin_altivec_vpkswus">,
- Intrinsic<[llvm_v16i8_ty, llvm_v4i32_ty, llvm_v4i32_ty],
+ Intrinsic<[llvm_v8i16_ty, llvm_v4i32_ty, llvm_v4i32_ty],
[InstrNoMem]>;
// vpkuhum is lowered to a shuffle.
def int_ppc_altivec_vpkuhus : GCCBuiltin<"__builtin_altivec_vpkuhus">,
@@ -344,7 +344,7 @@
[InstrNoMem]>;
// vpkuwum is lowered to a shuffle.
def int_ppc_altivec_vpkuwus : GCCBuiltin<"__builtin_altivec_vpkuwus">,
- Intrinsic<[llvm_v8i16_ty, llvm_v4i32_ty, llvm_v4i32_ty],
+ Intrinsic<[llvm_v16i8_ty, llvm_v4i32_ty, llvm_v4i32_ty],
[InstrNoMem]>;
// Unpacks.
@@ -410,7 +410,10 @@
Intrinsic<[llvm_v4i32_ty, llvm_v4i32_ty,
llvm_v4i32_ty, llvm_int_ty], [InstrNoMem]>;
}
+
+def int_ppc_altivec_vsl : PowerPC_Vec_WWW_Intrinsic<"vsl">;
def int_ppc_altivec_vslo : PowerPC_Vec_WWW_Intrinsic<"vslo">;
+
def int_ppc_altivec_vslb : PowerPC_Vec_BBB_Intrinsic<"vslb">;
def int_ppc_altivec_vslh : PowerPC_Vec_HHH_Intrinsic<"vslh">;
def int_ppc_altivec_vslw : PowerPC_Vec_WWW_Intrinsic<"vslw">;
More information about the llvm-commits
mailing list