mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
cmpps / cmppd encoding bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
12f859335c
commit
21760460b9
@ -963,22 +963,22 @@ def ANDNPDrm : PDI<0x55, MRMSrcMem, (ops VR128:$dst, VR128:$src1,f128mem:$src2),
|
||||
}
|
||||
|
||||
let isTwoAddress = 1 in {
|
||||
def CMPPSrr : PSI<0xC2, MRMSrcReg,
|
||||
(ops VR128:$dst, VR128:$src1, VR128:$src, SSECC:$cc),
|
||||
"cmp${cc}ps {$src, $dst|$dst, $src}",
|
||||
[(set VR128:$dst, (int_x86_sse_cmp_ps VR128:$src1,
|
||||
VR128:$src, imm:$cc))]>;
|
||||
def CMPPSrm : PSI<0xC2, MRMSrcMem,
|
||||
(ops VR128:$dst, VR128:$src1, f128mem:$src, SSECC:$cc),
|
||||
"cmp${cc}ps {$src, $dst|$dst, $src}",
|
||||
[(set VR128:$dst, (int_x86_sse_cmp_ps VR128:$src1,
|
||||
(load addr:$src), imm:$cc))]>;
|
||||
def CMPPDrr : PDI<0xC2, MRMSrcReg,
|
||||
(ops VR128:$dst, VR128:$src1, VR128:$src, SSECC:$cc),
|
||||
"cmp${cc}pd {$src, $dst|$dst, $src}", []>;
|
||||
def CMPPDrm : PDI<0xC2, MRMSrcMem,
|
||||
(ops VR128:$dst, VR128:$src1, f128mem:$src, SSECC:$cc),
|
||||
"cmp${cc}pd {$src, $dst|$dst, $src}", []>;
|
||||
def CMPPSrr : PSIi8<0xC2, MRMSrcReg,
|
||||
(ops VR128:$dst, VR128:$src1, VR128:$src, SSECC:$cc),
|
||||
"cmp${cc}ps {$src, $dst|$dst, $src}",
|
||||
[(set VR128:$dst, (int_x86_sse_cmp_ps VR128:$src1,
|
||||
VR128:$src, imm:$cc))]>;
|
||||
def CMPPSrm : PSIi8<0xC2, MRMSrcMem,
|
||||
(ops VR128:$dst, VR128:$src1, f128mem:$src, SSECC:$cc),
|
||||
"cmp${cc}ps {$src, $dst|$dst, $src}",
|
||||
[(set VR128:$dst, (int_x86_sse_cmp_ps VR128:$src1,
|
||||
(load addr:$src), imm:$cc))]>;
|
||||
def CMPPDrr : PDIi8<0xC2, MRMSrcReg,
|
||||
(ops VR128:$dst, VR128:$src1, VR128:$src, SSECC:$cc),
|
||||
"cmp${cc}pd {$src, $dst|$dst, $src}", []>;
|
||||
def CMPPDrm : PDIi8<0xC2, MRMSrcMem,
|
||||
(ops VR128:$dst, VR128:$src1, f128mem:$src, SSECC:$cc),
|
||||
"cmp${cc}pd {$src, $dst|$dst, $src}", []>;
|
||||
}
|
||||
|
||||
// Shuffle and unpack instructions
|
||||
|
Loading…
Reference in New Issue
Block a user