[llvm-commits] CVS: llvm/include/llvm/IntrinsicsPowerPC.td
Chris Lattner
lattner at cs.uiuc.edu
Tue Apr 4 17:49:26 PDT 2006
Changes in directory llvm/include/llvm:
IntrinsicsPowerPC.td updated: 1.18 -> 1.19
---
Log message:
correct the type of two intrinsics, add int_ppc_altivec_vmladduhm
---
Diffs of the changes: (+7 -2)
IntrinsicsPowerPC.td | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/IntrinsicsPowerPC.td
diff -u llvm/include/llvm/IntrinsicsPowerPC.td:1.18 llvm/include/llvm/IntrinsicsPowerPC.td:1.19
--- llvm/include/llvm/IntrinsicsPowerPC.td:1.18 Tue Apr 4 19:03:03 2006
+++ llvm/include/llvm/IntrinsicsPowerPC.td Tue Apr 4 19:49:14 2006
@@ -317,6 +317,11 @@
Intrinsic<[llvm_v4i32_ty, llvm_v16i8_ty, llvm_v4i32_ty],
[InstrNoMem]>;
+ // Other multiplies.
+ def int_ppc_altivec_vmladduhm : GCCBuiltin<"__builtin_altivec_vmladduhm">,
+ Intrinsic<[llvm_v8i16_ty, llvm_v8i16_ty, llvm_v8i16_ty,
+ llvm_v8i16_ty], [InstrNoMem]>;
+
// Packs.
def int_ppc_altivec_vpkpx : GCCBuiltin<"__builtin_altivec_vpkpx">,
Intrinsic<[llvm_v8i16_ty, llvm_v4i32_ty, llvm_v4i32_ty],
@@ -328,10 +333,10 @@
Intrinsic<[llvm_v16i8_ty, llvm_v8i16_ty, llvm_v8i16_ty],
[InstrNoMem]>;
def int_ppc_altivec_vpkswss : GCCBuiltin<"__builtin_altivec_vpkswss">,
- Intrinsic<[llvm_v4i32_ty, llvm_v16i8_ty, llvm_v16i8_ty],
+ Intrinsic<[llvm_v16i8_ty, llvm_v4i32_ty, llvm_v4i32_ty],
[InstrNoMem]>;
def int_ppc_altivec_vpkswus : GCCBuiltin<"__builtin_altivec_vpkswus">,
- Intrinsic<[llvm_v4i32_ty, llvm_v16i8_ty, llvm_v16i8_ty],
+ Intrinsic<[llvm_v16i8_ty, llvm_v4i32_ty, llvm_v4i32_ty],
[InstrNoMem]>;
// vpkuhum is lowered to a shuffle.
def int_ppc_altivec_vpkuhus : GCCBuiltin<"__builtin_altivec_vpkuhus">,
More information about the llvm-commits
mailing list