Fix the encodings of these new instructions, hopefully fixing the JIT

failures from last night


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26981 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-03-23 16:13:50 +00:00
parent 24dc1f5975
commit 29b4dd0c9c

View File

@ -2203,19 +2203,19 @@ def CMP32mi : Ii32<0x81, MRM7m,
(ops i32mem:$src1, i32imm:$src2),
"cmp{l} {$src2, $src1|$src1, $src2}",
[(X86cmp (loadi32 addr:$src1), imm:$src2)]>;
def CMP16ri8 : Ii16<0x83, MRM7r,
def CMP16ri8 : Ii8<0x83, MRM7r,
(ops R16:$src1, i16i8imm:$src2),
"cmp{w} {$src2, $src1|$src1, $src2}",
[(X86cmp R16:$src1, i16immSExt8:$src2)]>, OpSize;
def CMP16mi8 : Ii16<0x83, MRM7m,
def CMP16mi8 : Ii8<0x83, MRM7m,
(ops i16mem:$src1, i16i8imm:$src2),
"cmp{w} {$src2, $src1|$src1, $src2}",
[(X86cmp (loadi16 addr:$src1), i16immSExt8:$src2)]>, OpSize;
def CMP32mi8 : Ii32<0x83, MRM7m,
def CMP32mi8 : Ii8<0x83, MRM7m,
(ops i32mem:$src1, i32i8imm:$src2),
"cmp{l} {$src2, $src1|$src1, $src2}",
[(X86cmp (loadi32 addr:$src1), i32immSExt8:$src2)]>;
def CMP32ri8 : Ii32<0x83, MRM7r,
def CMP32ri8 : Ii8<0x83, MRM7r,
(ops R32:$src1, i32i8imm:$src2),
"cmp{l} {$src2, $src1|$src1, $src2}",
[(X86cmp R32:$src1, i32immSExt8:$src2)]>;