Factor out common .td file chunks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18982 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-12-16 16:31:57 +00:00
parent 31f9524f7e
commit be686a8897
4 changed files with 8 additions and 27 deletions

View File

@ -21,15 +21,6 @@ include "../Target.td"
include "PPC32RegisterInfo.td"
include "PowerPCInstrInfo.td"
def PowerPCInstrInfo : InstrInfo {
let PHIInst = PHI;
let TSFlagsFields = [ "VMX", "PPC64" ];
let TSFlagsShifts = [ 0, 1 ];
let isLittleEndianEncoding = 1;
}
def PPC32 : Target {
// Pointers on PPC32 are 32-bits in size.
let PointerType = i32;

View File

@ -21,15 +21,6 @@ include "../Target.td"
include "PPC64RegisterInfo.td"
include "PowerPCInstrInfo.td"
def PowerPCInstrInfo : InstrInfo {
let PHIInst = PHI;
let TSFlagsFields = [ "VMX", "PPC64" ];
let TSFlagsShifts = [ 0, 1 ];
let isLittleEndianEncoding = 1;
}
def PPC64 : Target {
// Pointers on PPC64 are 64-bits in size.
let PointerType = i64;

View File

@ -440,4 +440,12 @@ def RLDICR : MDForm_1<30, 1, 0, 1, 0,
(ops GPRC:$rA, GPRC:$rS, u6imm:$SH, u6imm:$ME),
"rldicr $rA, $rS, $SH, $ME">;
def PowerPCInstrInfo : InstrInfo {
let PHIInst = PHI;
let TSFlagsFields = [ "VMX", "PPC64" ];
let TSFlagsShifts = [ 0, 1 ];
let isLittleEndianEncoding = 1;
}

View File

@ -21,15 +21,6 @@ include "../Target.td"
include "PPC64RegisterInfo.td"
include "PowerPCInstrInfo.td"
def PowerPCInstrInfo : InstrInfo {
let PHIInst = PHI;
let TSFlagsFields = [ "VMX", "PPC64" ];
let TSFlagsShifts = [ 0, 1 ];
let isLittleEndianEncoding = 1;
}
def PowerPC : Target {
// Pointers on PowerPC are 64-bits in size.
let PointerType = i64;