[llvm-commits] CVS: llvm/lib/Target/X86/X86.td
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 4 00:01:53 PDT 2003
Changes in directory llvm/lib/Target/X86:
X86.td updated: 1.1 -> 1.2
---
Log message:
Add Target class for X86 target
---
Diffs of the changes:
Index: llvm/lib/Target/X86/X86.td
diff -u llvm/lib/Target/X86/X86.td:1.1 llvm/lib/Target/X86/X86.td:1.2
--- llvm/lib/Target/X86/X86.td:1.1 Sun Aug 3 10:47:49 2003
+++ llvm/lib/Target/X86/X86.td Sun Aug 3 13:19:37 2003
@@ -15,3 +15,20 @@
include "X86RegisterInfo.td"
+//===----------------------------------------------------------------------===//
+// Instruction Descriptions
+//===----------------------------------------------------------------------===//
+
+def X86InstrInfo : InstrInfo {
+}
+
+def X86 : Target {
+ // Specify the callee saved registers.
+ set CalleeSavedRegisters = [ESI, EDI, EBX, EBP];
+
+ // Yes, pointers are 32-bits in size.
+ set PointerType = i32;
+
+ // Information about the instructions...
+ set InstructionSet = X86InstrInfo;
+}
More information about the llvm-commits
mailing list