diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-16 16:31:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-16 16:31:57 +0000 |
commit | be686a88974eecd49673ae1312481d3c0aefeffd (patch) | |
tree | 4ecd8f73adc4faa633478fd5c6ca81f0c3889306 | |
parent | 31f9524f7ee3f744654ed9dcd8b11a257e6dfcd9 (diff) | |
download | external_llvm-be686a88974eecd49673ae1312481d3c0aefeffd.zip external_llvm-be686a88974eecd49673ae1312481d3c0aefeffd.tar.gz external_llvm-be686a88974eecd49673ae1312481d3c0aefeffd.tar.bz2 |
Factor out common .td file chunks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18982 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/PPC32.td | 9 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPC64.td | 9 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.td | 8 | ||||
-rw-r--r-- | lib/Target/PowerPC/PowerPC.td | 9 |
4 files changed, 8 insertions, 27 deletions
diff --git a/lib/Target/PowerPC/PPC32.td b/lib/Target/PowerPC/PPC32.td index 15ff244..e808e83 100644 --- a/lib/Target/PowerPC/PPC32.td +++ b/lib/Target/PowerPC/PPC32.td @@ -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; diff --git a/lib/Target/PowerPC/PPC64.td b/lib/Target/PowerPC/PPC64.td index 16f20e8..25b0986 100644 --- a/lib/Target/PowerPC/PPC64.td +++ b/lib/Target/PowerPC/PPC64.td @@ -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; diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 4ad10c6..e134696 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -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; +} diff --git a/lib/Target/PowerPC/PowerPC.td b/lib/Target/PowerPC/PowerPC.td index 0d3ab21..4d559c9 100644 --- a/lib/Target/PowerPC/PowerPC.td +++ b/lib/Target/PowerPC/PowerPC.td @@ -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; |