mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 16:56:50 +00:00
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
This commit is contained in:
parent
f57fcf7844
commit
6a94cbb72e
@ -630,6 +630,9 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||
def int_x86_ssse3_pshuf_b_128 : GCCBuiltin<"__builtin_ia32_pshufb128">,
|
||||
Intrinsic<[llvm_v16i8_ty], [llvm_v16i8_ty,
|
||||
llvm_v16i8_ty], [IntrNoMem]>;
|
||||
def int_x86_ssse3_pshuf_w : GCCBuiltin<"__builtin_ia32_pshufw">,
|
||||
Intrinsic<[llvm_v4i16_ty], [llvm_v4i16_ty, llvm_i32_ty],
|
||||
[IntrNoMem]>;
|
||||
}
|
||||
|
||||
// Sign ops
|
||||
@ -1567,12 +1570,20 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||
def int_x86_mmx_movnt_dq : GCCBuiltin<"__builtin_ia32_movntq">,
|
||||
Intrinsic<[], [llvm_ptr_ty, llvm_v1i64_ty], []>;
|
||||
|
||||
def int_x86_mmx_cvtsi32_MMX : GCCBuiltin<"__builtin_ia32_vec_init_v2si">,
|
||||
def int_x86_mmx_palignr_b : GCCBuiltin<"__builtin_ia32_palignr">,
|
||||
Intrinsic<[llvm_v1i64_ty], [llvm_v1i64_ty,
|
||||
llvm_v1i64_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
|
||||
def int_x86_mmx_pextr_w :
|
||||
Intrinsic<[llvm_i32_ty], [llvm_v1i64_ty, llvm_i32_ty],
|
||||
[IntrNoMem]>;
|
||||
|
||||
def int_x86_mmx_pinsr_w :
|
||||
Intrinsic<[llvm_v1i64_ty], [llvm_v1i64_ty,
|
||||
llvm_i32_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
|
||||
def int_x86_mmx_cvtsi32_si64 : GCCBuiltin<"__builtin_ia32_vec_init_v2si">,
|
||||
Intrinsic<[llvm_v1i64_ty], [llvm_i32_ty], [IntrNoMem]>;
|
||||
def int_x86_mmx_cvtsi64_MMX :
|
||||
Intrinsic<[llvm_v1i64_ty], [llvm_i64_ty], [IntrNoMem]>;
|
||||
def int_x86_mmx_MMX_si32 : GCCBuiltin<"__builtin_ia32_vec_ext_v2si">,
|
||||
def int_x86_mmx_cvtsi64_si32 : GCCBuiltin<"__builtin_ia32_vec_ext_v2si">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_v1i64_ty], [IntrNoMem]>;
|
||||
def int_x86_mmx_MMX_si64 :
|
||||
Intrinsic<[llvm_i64_ty], [llvm_v1i64_ty], [IntrNoMem]>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user