mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
Add Target class for X86 target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7523 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9eab316528
commit
b77eb78afc
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user