diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-03 21:54:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-03 21:54:59 +0000 |
commit | c01f39307e57f84a86978cebad80647e6f8691fd (patch) | |
tree | 72ec421eeb70f5d1daea0f7ab0c16a6b35c6c41d | |
parent | 1cca5e3a29792c6927e337ba91e3b16c01c185ab (diff) |
Start using tablegenerated instruction descriptions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7538 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lib/Target/X86/Makefile b/lib/Target/X86/Makefile index 80ace9804a..ff4ab7c019 100644 --- a/lib/Target/X86/Makefile +++ b/lib/Target/X86/Makefile @@ -2,20 +2,26 @@ LEVEL = ../../.. LIBRARYNAME = x86 include $(LEVEL)/Makefile.common - - # Make sure that tblgen is run, first thing. -$(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc X86GenRegisterInfo.inc +$(SourceDepend): X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \ + X86GenRegisterInfo.inc X86GenInstrNames.inc \ + X86GenInstrInfo.inc -X86GenRegisterNames.inc: $(wildcard *.td) $(TBLGEN) +X86GenRegisterNames.inc: X86.td X86RegisterInfo.td $(TBLGEN) $(TBLGEN) X86.td -gen-register-enums -o $@ -X86GenRegisterInfo.h.inc: $(wildcard *.td) $(TBLGEN) +X86GenRegisterInfo.h.inc: X86.td X86RegisterInfo.td $(TBLGEN) $(TBLGEN) X86.td -gen-register-desc-header -o $@ -X86GenRegisterInfo.inc: $(wildcard *.td) $(TBLGEN) +X86GenRegisterInfo.inc: X86.td X86RegisterInfo.td $(TBLGEN) $(TBLGEN) X86.td -gen-register-desc -o $@ +X86GenInstrNames.inc: X86.td X86InstrInfo.td $(TBLGEN) + $(TBLGEN) X86.td -gen-instr-enums -o $@ + +X86GenInstrInfo.inc: X86.td X86InstrInfo.td $(TBLGEN) + $(TBLGEN) X86.td -gen-instr-desc -o $@ + clean:: $(VERB) rm -f *.inc |