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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5102 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-12-18 01:05:54 +00:00
parent 1445895e19
commit b339223518

View File

@ -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"
};