[llvm-commits] CVS: llvm/include/llvm/IntrinsicsX86.td
Evan Cheng
evan.cheng at apple.com
Thu Apr 13 18:40:07 PDT 2006
Changes in directory llvm/include/llvm:
IntrinsicsX86.td updated: 1.26 -> 1.27
---
Log message:
pcmpeq* and pcmpgt* intrinsics.
---
Diffs of the changes: (+22 -0)
IntrinsicsX86.td | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+)
Index: llvm/include/llvm/IntrinsicsX86.td
diff -u llvm/include/llvm/IntrinsicsX86.td:1.26 llvm/include/llvm/IntrinsicsX86.td:1.27
--- llvm/include/llvm/IntrinsicsX86.td:1.26 Thu Apr 13 19:14:05 2006
+++ llvm/include/llvm/IntrinsicsX86.td Thu Apr 13 20:39:53 2006
@@ -345,6 +345,28 @@
llvm_v4i32_ty], [IntrNoMem]>;
}
+// Integer comparison ops
+let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
+ def int_x86_sse2_pcmpeq_b : GCCBuiltin<"__builtin_ia32_pcmpeqb128">,
+ Intrinsic<[llvm_v16i8_ty, llvm_v16i8_ty,
+ llvm_v16i8_ty], [IntrNoMem]>;
+ def int_x86_sse2_pcmpeq_w : GCCBuiltin<"__builtin_ia32_pcmpeqw128">,
+ Intrinsic<[llvm_v8i16_ty, llvm_v8i16_ty,
+ llvm_v8i16_ty], [IntrNoMem]>;
+ def int_x86_sse2_pcmpeq_d : GCCBuiltin<"__builtin_ia32_pcmpeqd128">,
+ Intrinsic<[llvm_v4i32_ty, llvm_v4i32_ty,
+ llvm_v4i32_ty], [IntrNoMem]>;
+ def int_x86_sse2_pcmpgt_b : GCCBuiltin<"__builtin_ia32_pcmpgtb128">,
+ Intrinsic<[llvm_v16i8_ty, llvm_v16i8_ty,
+ llvm_v16i8_ty], [IntrNoMem]>;
+ def int_x86_sse2_pcmpgt_w : GCCBuiltin<"__builtin_ia32_pcmpgtw128">,
+ Intrinsic<[llvm_v8i16_ty, llvm_v8i16_ty,
+ llvm_v8i16_ty], [IntrNoMem]>;
+ def int_x86_sse2_pcmpgt_d : GCCBuiltin<"__builtin_ia32_pcmpgtd128">,
+ Intrinsic<[llvm_v4i32_ty, llvm_v4i32_ty,
+ llvm_v4i32_ty], [IntrNoMem]>;
+}
+
// Conversion ops
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
def int_x86_sse2_cvtdq2pd : GCCBuiltin<"__builtin_ia32_cvtdq2pd">,
More information about the llvm-commits
mailing list