[llvm-commits] CVS: llvm/lib/Target/X86/X86InstructionInfo.def

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 27 15:18:04 PST 2002


Changes in directory llvm/lib/Target/X86:

X86InstructionInfo.def updated: 1.1 -> 1.2

---
Log message:

Add instruction definitions for mov r, imm instructions


---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86InstructionInfo.def
diff -u llvm/lib/Target/X86/X86InstructionInfo.def:1.1 llvm/lib/Target/X86/X86InstructionInfo.def:1.2
--- llvm/lib/Target/X86/X86InstructionInfo.def:1.1	Fri Oct 25 17:55:53 2002
+++ llvm/lib/Target/X86/X86InstructionInfo.def	Sun Oct 27 15:16:44 2002
@@ -31,8 +31,14 @@
 // Miscellaneous instructions
 I(RET         , "ret",         MIF::RET, 0)      // ret          CB
 
-I(ADDrr8      , "add",                0, 0)      // R8  += R8    00/r
-I(ADDrr16     , "add",                0, 0)      // R16 += R16   01/r
+// Move instructions
+I(MOVir8      , "movb",               0, 0)      // R = imm8     B0+ rb
+I(MOVir16     , "movw",               0, 0)      // R = imm16    B8+ rw
+I(MOVir32     , "movl",               0, 0)      // R = imm32    B8+ rd
+
+// Arithmetic instructions
+I(ADDrr8      , "addb",               0, 0)      // R8  += R8    00/r
+I(ADDrr16     , "addw",               0, 0)      // R16 += R16   01/r
 I(ADDrr32     , "addl",               0, 0)      // R32 += R32   02/r
 
 





More information about the llvm-commits mailing list