mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
fix rdar://8490728 - llvm-mc rejects gpr64 form of 'movmskpd'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115029 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1420,9 +1420,11 @@ let AddedComplexity = 10 in {
|
|||||||
/// sse12_extr_sign_mask - sse 1 & 2 unpack and interleave
|
/// sse12_extr_sign_mask - sse 1 & 2 unpack and interleave
|
||||||
multiclass sse12_extr_sign_mask<RegisterClass RC, Intrinsic Int, string asm,
|
multiclass sse12_extr_sign_mask<RegisterClass RC, Intrinsic Int, string asm,
|
||||||
Domain d> {
|
Domain d> {
|
||||||
def rr : PI<0x50, MRMSrcReg, (outs GR32:$dst), (ins RC:$src),
|
def rr32 : PI<0x50, MRMSrcReg, (outs GR32:$dst), (ins RC:$src),
|
||||||
!strconcat(asm, "\t{$src, $dst|$dst, $src}"),
|
!strconcat(asm, "\t{$src, $dst|$dst, $src}"),
|
||||||
[(set GR32:$dst, (Int RC:$src))], d>;
|
[(set GR32:$dst, (Int RC:$src))], d>;
|
||||||
|
def rr64 : PI<0x50, MRMSrcReg, (outs GR64:$dst), (ins RC:$src),
|
||||||
|
!strconcat(asm, "\t{$src, $dst|$dst, $src}"), [], d>, REX_W;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mask creation
|
// Mask creation
|
||||||
|
@@ -459,3 +459,10 @@ cvttpd2dq 0xdeadbeef(%ebx,%ecx,8),%xmm5
|
|||||||
// CHECK: cvttpd2dq 3735928559(%ebx,%ecx,8), %xmm5
|
// CHECK: cvttpd2dq 3735928559(%ebx,%ecx,8), %xmm5
|
||||||
// CHECK: encoding: [0x67,0x66,0x0f,0xe6,0xac,0xcb,0xef,0xbe,0xad,0xde]
|
// CHECK: encoding: [0x67,0x66,0x0f,0xe6,0xac,0xcb,0xef,0xbe,0xad,0xde]
|
||||||
|
|
||||||
|
// rdar://8490728 - llvm-mc rejects 'movmskpd'
|
||||||
|
movmskpd %xmm6, %rax
|
||||||
|
// CHECK: movmskpd %xmm6, %rax
|
||||||
|
// CHECK: encoding: [0x66,0x48,0x0f,0x50,0xc6]
|
||||||
|
movmskpd %xmm6, %eax
|
||||||
|
// CHECK: movmskpd %xmm6, %eax
|
||||||
|
// CHECK: encoding: [0x66,0x0f,0x50,0xc6]
|
||||||
|
Reference in New Issue
Block a user