[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32.td PPC64.td PowerPC.td PowerPCInstrInfo.td

Chris Lattner lattner at cs.uiuc.edu
Thu Dec 16 08:32:12 PST 2004



Changes in directory llvm/lib/Target/PowerPC:

PPC32.td updated: 1.3 -> 1.4
PPC64.td updated: 1.4 -> 1.5
PowerPC.td updated: 1.11 -> 1.12
PowerPCInstrInfo.td updated: 1.48 -> 1.49
---
Log message:

Factor out common .td file chunks.


---
Diffs of the changes:  (+8 -27)

Index: llvm/lib/Target/PowerPC/PPC32.td
diff -u llvm/lib/Target/PowerPC/PPC32.td:1.3 llvm/lib/Target/PowerPC/PPC32.td:1.4
--- llvm/lib/Target/PowerPC/PPC32.td:1.3	Tue Nov 23 14:37:41 2004
+++ llvm/lib/Target/PowerPC/PPC32.td	Thu Dec 16 10:31:57 2004
@@ -21,15 +21,6 @@
 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;


Index: llvm/lib/Target/PowerPC/PPC64.td
diff -u llvm/lib/Target/PowerPC/PPC64.td:1.4 llvm/lib/Target/PowerPC/PPC64.td:1.5
--- llvm/lib/Target/PowerPC/PPC64.td:1.4	Tue Nov 23 14:37:41 2004
+++ llvm/lib/Target/PowerPC/PPC64.td	Thu Dec 16 10:31:57 2004
@@ -21,15 +21,6 @@
 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;


Index: llvm/lib/Target/PowerPC/PowerPC.td
diff -u llvm/lib/Target/PowerPC/PowerPC.td:1.11 llvm/lib/Target/PowerPC/PowerPC.td:1.12
--- llvm/lib/Target/PowerPC/PowerPC.td:1.11	Tue Nov 23 14:37:41 2004
+++ llvm/lib/Target/PowerPC/PowerPC.td	Thu Dec 16 10:31:57 2004
@@ -21,15 +21,6 @@
 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;


Index: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.48 llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.49
--- llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.48	Wed Nov 24 21:53:44 2004
+++ llvm/lib/Target/PowerPC/PowerPCInstrInfo.td	Thu Dec 16 10:31:57 2004
@@ -440,4 +440,12 @@
                       (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;
+}
 






More information about the llvm-commits mailing list