[llvm-commits] CVS: llvm/include/llvm/Intrinsics.td IntrinsicsX86.td
Evan Cheng
evan.cheng at apple.com
Tue Apr 4 14:48:43 PDT 2006
Changes in directory llvm/include/llvm:
Intrinsics.td updated: 1.31 -> 1.32
IntrinsicsX86.td updated: 1.8 -> 1.9
---
Log message:
Added intrinsics to match __builtin_ia32_pslldqi128 and
__builtin_ia32_psrldqi128.
---
Diffs of the changes: (+11 -0)
Intrinsics.td | 1 +
IntrinsicsX86.td | 10 ++++++++++
2 files changed, 11 insertions(+)
Index: llvm/include/llvm/Intrinsics.td
diff -u llvm/include/llvm/Intrinsics.td:1.31 llvm/include/llvm/Intrinsics.td:1.32
--- llvm/include/llvm/Intrinsics.td:1.31 Mon Mar 27 18:15:44 2006
+++ llvm/include/llvm/Intrinsics.td Tue Apr 4 16:48:31 2006
@@ -82,6 +82,7 @@
def llvm_v16i8_ty : LLVMPackedType<v16i8,16, llvm_sbyte_ty>; // 16 x sbyte
def llvm_v8i16_ty : LLVMPackedType<v8i16, 8, llvm_short_ty>; // 8 x short
+def llvm_v2i64_ty : LLVMPackedType<v2i64, 2, llvm_long_ty>; // 2 x long
def llvm_v2i32_ty : LLVMPackedType<v2i32, 2, llvm_int_ty>; // 2 x int
def llvm_v4i32_ty : LLVMPackedType<v4i32, 4, llvm_int_ty>; // 4 x int
def llvm_v4f32_ty : LLVMPackedType<v4f32, 4, llvm_float_ty>; // 4 x float
Index: llvm/include/llvm/IntrinsicsX86.td
diff -u llvm/include/llvm/IntrinsicsX86.td:1.8 llvm/include/llvm/IntrinsicsX86.td:1.9
--- llvm/include/llvm/IntrinsicsX86.td:1.8 Fri Mar 31 15:28:46 2006
+++ llvm/include/llvm/IntrinsicsX86.td Tue Apr 4 16:48:31 2006
@@ -183,6 +183,16 @@
llvm_v2f64_ty], [InstrNoMem]>;
}
+// Integer shift ops.
+let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
+ def int_x86_sse2_psll_dq : GCCBuiltin<"__builtin_ia32_pslldqi128">,
+ Intrinsic<[llvm_v2i64_ty, llvm_v2i64_ty,
+ llvm_int_ty], [InstrNoMem]>;
+ def int_x86_sse2_psrl_dq : GCCBuiltin<"__builtin_ia32_psrldqi128">,
+ Intrinsic<[llvm_v2i64_ty, llvm_v2i64_ty,
+ llvm_int_ty], [InstrNoMem]>;
+}
+
// Misc.
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
def int_x86_sse2_packsswb_128 : GCCBuiltin<"__builtin_ia32_packsswb128">,
More information about the llvm-commits
mailing list