blob: de2d619dd4fbc5ec6ea90811711727c40bd70adb [file] [log] [blame]
Chris Lattner5da8e802003-08-03 15:47:49 +00001//===- X86.td - Target definition file for the Intel X86 arch ---*- C++ -*-===//
2//
3// This is a target description file for the Intel i386 architecture, refered to
4// here as the "X86" architecture.
5//
6//===----------------------------------------------------------------------===//
7
8// Get the target independent interfaces which we are implementing...
9//
10include "../Target.td"
11
12//===----------------------------------------------------------------------===//
13// Register File Description
14//===----------------------------------------------------------------------===//
15
16include "X86RegisterInfo.td"
17
Chris Lattnera8c3cff2003-08-03 18:19:37 +000018//===----------------------------------------------------------------------===//
19// Instruction Descriptions
20//===----------------------------------------------------------------------===//
21
22def X86InstrInfo : InstrInfo {
23}
24
25def X86 : Target {
26 // Specify the callee saved registers.
27 set CalleeSavedRegisters = [ESI, EDI, EBX, EBP];
28
29 // Yes, pointers are 32-bits in size.
30 set PointerType = i32;
31
32 // Information about the instructions...
33 set InstructionSet = X86InstrInfo;
34}