[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.def
Chris Lattner
lattner at cs.uiuc.edu
Thu Dec 12 22:42:00 PST 2002
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.def updated: 1.38 -> 1.39
---
Log message:
Fix encoding of CBW instruction
---
Diffs of the changes:
Index: llvm/lib/Target/X86/X86InstrInfo.def
diff -u llvm/lib/Target/X86/X86InstrInfo.def:1.38 llvm/lib/Target/X86/X86InstrInfo.def:1.39
--- llvm/lib/Target/X86/X86InstrInfo.def:1.38 Thu Dec 12 21:51:55 2002
+++ llvm/lib/Target/X86/X86InstrInfo.def Thu Dec 12 22:41:31 2002
@@ -181,7 +181,7 @@
I(CMPri8 , "cmp", 0x80, 0, X86II::MRMS7r | X86II::Arg8, NoIR, NoIR) // compare R8, imm8
// Sign extenders (first 3 are good for DIV/IDIV; the others are more general)
-I(CBW , "cbw", 0x98, 0, X86II::RawFrm, O_AL, O_AX) // AX = signext(AL)
+I(CBW , "cbw", 0x98, 0, X86II::RawFrm | X86II::OpSize, O_AL, O_AX) // AX = signext(AL)
I(CWD , "cwd", 0x99, 0, X86II::RawFrm, O_AX, O_DX) // DX:AX = signext(AX)
I(CDQ , "cdq", 0x99, 0, X86II::RawFrm, O_EAX, O_EDX) // EDX:EAX = signext(EAX)
I(MOVSXr16r8 , "movsx", 0xBE, 0, X86II::MRMSrcReg | X86II::TB | // R16 = signext(R8)
More information about the llvm-commits
mailing list