[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Dec 17 19:07:01 PST 2002


Changes in directory llvm/lib/Target/X86:

X86InstrInfo.cpp updated: 1.10 -> 1.11

---
Log message:

Add comments, switch uses/defs to match InstrInfo.def file


---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.10 llvm/lib/Target/X86/X86InstrInfo.cpp:1.11
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.10	Mon Dec  2 23:42:53 2002
+++ llvm/lib/Target/X86/X86InstrInfo.cpp	Tue Dec 17 19:05:54 2002
@@ -18,11 +18,19 @@
 // descriptors
 //
 static const MachineInstrDescriptor X86Insts[] = {
-#define I(ENUM, NAME, BASEOPCODE, FLAGS, TSFLAGS, IMPDEFS, IMPUSES)   \
+#define I(ENUM, NAME, BASEOPCODE, FLAGS, TSFLAGS, IMPUSES, IMPDEFS)   \
              { NAME,                    \
                -1, /* Always vararg */  \
                ((TSFLAGS) & X86II::Void) ? -1 : 0,  /* Result is in 0 */ \
-               0, false, 0, 0, TSFLAGS, FLAGS, TSFLAGS, IMPDEFS, IMPUSES },
+               0,                                   /* maxImmedConst field */\
+               false,                               /* immedIsSignExtended */\
+               0,                                   /* numDelaySlots */\
+               0,                                   /* latency */\
+               0,                                   /* schedClass */\
+               FLAGS,                               /* Flags */\
+               TSFLAGS,                             /* TSFlags */\
+               IMPUSES,                             /* ImplicitUses */\
+               IMPDEFS },                           /* ImplicitDefs */
 #include "X86InstrInfo.def"
 };
 





More information about the llvm-commits mailing list