[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

Chris Lattner lattner at cs.uiuc.edu
Thu Mar 23 08:14:03 PST 2006



Changes in directory llvm/lib/Target/X86:

X86InstrInfo.td updated: 1.257 -> 1.258
---
Log message:

Fix the encodings of these new instructions, hopefully fixing the JIT 
failures from last night


---
Diffs of the changes:  (+4 -4)

 X86InstrInfo.td |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.257 llvm/lib/Target/X86/X86InstrInfo.td:1.258
--- llvm/lib/Target/X86/X86InstrInfo.td:1.257	Wed Mar 22 19:29:48 2006
+++ llvm/lib/Target/X86/X86InstrInfo.td	Thu Mar 23 10:13:50 2006
@@ -2203,19 +2203,19 @@
                    (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)]>;






More information about the llvm-commits mailing list