From b33922351835a3772f8a026baa6109045e26c2ae Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 18 Dec 2002 01:05:54 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86InstrInfo.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 219619ec31d..813d983538b 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -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" }; -- 2.40.0