mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add SSE2 integer pack with saturation intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
506d3dfa90
commit
4e27b8e8f4
@ -285,7 +285,17 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
|||||||
llvm_v2f64_ty], [InstrNoMem]>;
|
llvm_v2f64_ty], [InstrNoMem]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Misc.
|
||||||
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||||
|
def int_x86_sse2_packsswb_128 : GCCBuiltin<"__builtin_ia32_packsswb128">,
|
||||||
|
Intrinsic<[llvm_v16i8_ty, llvm_v8i16_ty,
|
||||||
|
llvm_v8i16_ty], [InstrNoMem]>;
|
||||||
|
def int_x86_sse2_packssdw_128 : GCCBuiltin<"__builtin_ia32_packssdw128">,
|
||||||
|
Intrinsic<[llvm_v8i16_ty, llvm_v4i32_ty,
|
||||||
|
llvm_v4i32_ty], [InstrNoMem]>;
|
||||||
|
def int_x86_sse2_packuswb_128 : GCCBuiltin<"__builtin_ia32_packuswb128">,
|
||||||
|
Intrinsic<[llvm_v16i8_ty, llvm_v8i16_ty,
|
||||||
|
llvm_v8i16_ty], [InstrNoMem]>;
|
||||||
def int_x86_sse2_movmskpd : GCCBuiltin<"__builtin_ia32_movmskpd">,
|
def int_x86_sse2_movmskpd : GCCBuiltin<"__builtin_ia32_movmskpd">,
|
||||||
Intrinsic<[llvm_int_ty, llvm_v2f64_ty], [InstrNoMem]>;
|
Intrinsic<[llvm_int_ty, llvm_v2f64_ty], [InstrNoMem]>;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user