aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-23 16:13:50 +0000
committerChris Lattner <sabre@nondot.org>2006-03-23 16:13:50 +0000
commit29b4dd0c9cf7cb14683c7eb31c4e96f6f7c1e35d (patch)
treef2ac1b8c1dbfe0746adf266349a5721c2fb81447
parent24dc1f5975d5cf136bda4b1fd36635eb7e482198 (diff)
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
-rw-r--r--lib/Target/X86/X86InstrInfo.td8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index 5ad3e5fcd6..b895eb260d 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -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)]>;