forked from OSchip/llvm-project
Prettify formatting of the file, adjust paths to making V8 a subdir of Sparc
llvm-svn: 16482
This commit is contained in:
parent
d55f854a5d
commit
009aaf9968
|
@ -10,26 +10,41 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// Get the target-independent interfaces which we are implementing...
|
//===----------------------------------------------------------------------===//
|
||||||
//
|
// Target-independent interfaces which we are implementing
|
||||||
include "../Target.td"
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
include "../../Target.td"
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Register File Description
|
// Register File Description
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
include "SparcV8RegisterInfo.td"
|
include "SparcV8RegisterInfo.td"
|
||||||
|
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
// Instruction Descriptions
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
include "SparcV8InstrInfo.td"
|
include "SparcV8InstrInfo.td"
|
||||||
|
|
||||||
def SparcV8InstrInfo : InstrInfo {
|
def SparcV8InstrInfo : InstrInfo {
|
||||||
let PHIInst = PHI;
|
let PHIInst = PHI;
|
||||||
|
|
||||||
|
// Define how we want to layout our target-specific information field.
|
||||||
|
let TSFlagsFields = [];
|
||||||
|
let TSFlagsShifts = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
// Declare the target which we are implementing
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
def SparcV8 : Target {
|
def SparcV8 : Target {
|
||||||
// Pointers are 32-bits in size.
|
// Pointers are 32-bits in size.
|
||||||
let PointerType = i32;
|
let PointerType = i32;
|
||||||
|
|
||||||
// These regs are nonvolatile across calls:
|
// FIXME: Specify callee-saved registers
|
||||||
let CalleeSavedRegisters = [];
|
let CalleeSavedRegisters = [];
|
||||||
|
|
||||||
// Pull in Instruction Info:
|
// Pull in Instruction Info:
|
||||||
|
|
Loading…
Reference in New Issue