[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelSimple.cpp X86InstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Wed Oct 6 07:32:04 PDT 2004
Changes in directory llvm/lib/Target/X86:
X86ISelSimple.cpp updated: 1.283 -> 1.284
X86InstrInfo.td updated: 1.110 -> 1.111
---
Log message:
Remove debugging code, fix encoding problem. This fixes the problems
the JIT had last night.
---
Diffs of the changes: (+2 -3)
Index: llvm/lib/Target/X86/X86ISelSimple.cpp
diff -u llvm/lib/Target/X86/X86ISelSimple.cpp:1.283 llvm/lib/Target/X86/X86ISelSimple.cpp:1.284
--- llvm/lib/Target/X86/X86ISelSimple.cpp:1.283 Wed Oct 6 00:01:07 2004
+++ llvm/lib/Target/X86/X86ISelSimple.cpp Wed Oct 6 09:31:50 2004
@@ -2747,7 +2747,6 @@
int V = CI->getValue();
if (V == 2 || V == -2) { // X % 2, X % -2
- std::cerr << "SREM 2\n";
static const unsigned SExtOpcode[] = { X86::CBW, X86::CWD, X86::CDQ };
static const unsigned BaseReg[] = { X86::AL , X86::AX , X86::EAX };
static const unsigned SExtReg[] = { X86::AH , X86::DX , X86::EDX };
Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.110 llvm/lib/Target/X86/X86InstrInfo.td:1.111
--- llvm/lib/Target/X86/X86InstrInfo.td:1.110 Tue Oct 5 23:01:02 2004
+++ llvm/lib/Target/X86/X86InstrInfo.td Wed Oct 6 09:31:50 2004
@@ -992,8 +992,8 @@
def SBB32ri : Ii32<0x81, MRM3r, (ops R32:$dst, R32:$src1, i32imm:$src2),
"sbb{l} {$src2, $dst|$dst, $src2}">;
-def SBB16ri8 : Ii16<0x83, MRM3r, (ops R16:$dst, R16:$src1, i8imm:$src2),
- "sbb{w} {$src2, $dst|$dst, $src2}">, OpSize;
+def SBB16ri8 : Ii8<0x83, MRM3r, (ops R16:$dst, R16:$src1, i8imm:$src2),
+ "sbb{w} {$src2, $dst|$dst, $src2}">, OpSize;
def SBB32ri8 : Ii8<0x83, MRM3r, (ops R32:$dst, R32:$src1, i8imm:$src2),
"sbb{l} {$src2, $dst|$dst, $src2}">;
More information about the llvm-commits
mailing list