llvm.org GIT mirror llvm / 6a94cbb
Add a few more missing MMX operations. This should be it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112740 91177308-0d34-0410-b5e6-96231b3b80d8 Dale Johannesen 10 years ago
1 changed file(s) with 18 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
629629 def int_x86_ssse3_pshuf_b_128 : GCCBuiltin<"__builtin_ia32_pshufb128">,
630630 Intrinsic<[llvm_v16i8_ty], [llvm_v16i8_ty,
631631 llvm_v16i8_ty], [IntrNoMem]>;
632 def int_x86_ssse3_pshuf_w : GCCBuiltin<"__builtin_ia32_pshufw">,
633 Intrinsic<[llvm_v4i16_ty], [llvm_v4i16_ty, llvm_i32_ty],
634 [IntrNoMem]>;
632635 }
633636
634637 // Sign ops
15661569 def int_x86_mmx_movnt_dq : GCCBuiltin<"__builtin_ia32_movntq">,
15671570 Intrinsic<[], [llvm_ptr_ty, llvm_v1i64_ty], []>;
15681571
1569 def int_x86_mmx_cvtsi32_MMX : GCCBuiltin<"__builtin_ia32_vec_init_v2si">,
1572 def int_x86_mmx_palignr_b : GCCBuiltin<"__builtin_ia32_palignr">,
1573 Intrinsic<[llvm_v1i64_ty], [llvm_v1i64_ty,
1574 llvm_v1i64_ty, llvm_i32_ty], [IntrNoMem]>;
1575
1576 def int_x86_mmx_pextr_w :
1577 Intrinsic<[llvm_i32_ty], [llvm_v1i64_ty, llvm_i32_ty],
1578 [IntrNoMem]>;
1579
1580 def int_x86_mmx_pinsr_w :
1581 Intrinsic<[llvm_v1i64_ty], [llvm_v1i64_ty,
1582 llvm_i32_ty, llvm_i32_ty], [IntrNoMem]>;
1583
1584 def int_x86_mmx_cvtsi32_si64 : GCCBuiltin<"__builtin_ia32_vec_init_v2si">,
15701585 Intrinsic<[llvm_v1i64_ty], [llvm_i32_ty], [IntrNoMem]>;
1571 def int_x86_mmx_cvtsi64_MMX :
1572 Intrinsic<[llvm_v1i64_ty], [llvm_i64_ty], [IntrNoMem]>;
1573 def int_x86_mmx_MMX_si32 : GCCBuiltin<"__builtin_ia32_vec_ext_v2si">,
1586 def int_x86_mmx_cvtsi64_si32 : GCCBuiltin<"__builtin_ia32_vec_ext_v2si">,
15741587 Intrinsic<[llvm_i32_ty], [llvm_v1i64_ty], [IntrNoMem]>;
1575 def int_x86_mmx_MMX_si64 :
1576 Intrinsic<[llvm_i64_ty], [llvm_v1i64_ty], [IntrNoMem]>;
1577 }
1588 }