From 29b4dd0c9cf7cb14683c7eb31c4e96f6f7c1e35d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 23 Mar 2006 16:13:50 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86InstrInfo.td | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 5ad3e5fcd69..b895eb260d4 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)]>;