mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Do not unconditionally redefine vec_ext_v16qi and
vec_ext_v4si builtins. This is a hack; they should be defined here, then resolved in the X86 BE. However there is enough other stuff missing in the X86 BE for SSE41 that this will do for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46727 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc718542a3
commit
a76619337e
@ -764,9 +764,9 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||
|
||||
// Vector extract
|
||||
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||
def int_x86_sse41_pextrb : GCCBuiltin<"__builtin_ia32_vec_ext_v16qi">,
|
||||
def int_x86_sse41_pextrb :
|
||||
Intrinsic<[llvm_i32_ty, llvm_v16i8_ty, llvm_i32_ty]>;
|
||||
def int_x86_sse41_pextrd : GCCBuiltin<"__builtin_ia32_vec_ext_v4si">,
|
||||
def int_x86_sse41_pextrd :
|
||||
Intrinsic<[llvm_i32_ty, llvm_v4i32_ty, llvm_i32_ty]>;
|
||||
def int_x86_sse41_pextrq : GCCBuiltin<"__builtin_ia32_vec_ext_v2di">,
|
||||
Intrinsic<[llvm_i64_ty, llvm_v2i64_ty, llvm_i32_ty]>;
|
||||
|
Loading…
Reference in New Issue
Block a user