mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
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:
parent
31f9524f7e
commit
be686a8897
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user