aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/X86/X86.td17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td
index e4c1c8effd..de2d619dd4 100644
--- a/lib/Target/X86/X86.td
+++ b/lib/Target/X86/X86.td
@@ -15,3 +15,20 @@ include "../Target.td"
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;
+}