mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-17 16:46:50 +00:00
Add Target class for X86 target
llvm-svn: 7523
This commit is contained in:
parent
6b3f365906
commit
7ef512fec1
@ -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…
Reference in New Issue
Block a user