mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-20 10:30:03 +00:00
b77eb78afc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7523 91177308-0d34-0410-b5e6-96231b3b80d8
35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
//===- X86.td - Target definition file for the Intel X86 arch ---*- C++ -*-===//
|
|
//
|
|
// This is a target description file for the Intel i386 architecture, refered to
|
|
// here as the "X86" architecture.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Get the target independent interfaces which we are implementing...
|
|
//
|
|
include "../Target.td"
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Register File Description
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
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;
|
|
}
|