[llvm-commits] CVS: llvm/lib/Target/Target.td

Misha Brukman brukman at cs.uiuc.edu
Wed Oct 13 22:53:50 PDT 2004



Changes in directory llvm/lib/Target:

Target.td updated: 1.41 -> 1.42
---
Log message:

Add isLittleEndianEncoding to InstrInfo class, defaults to `off'


---
Diffs of the changes:  (+6 -0)

Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.41 llvm/lib/Target/Target.td:1.42
--- llvm/lib/Target/Target.td:1.41	Sun Oct  3 14:34:18 2004
+++ llvm/lib/Target/Target.td	Thu Oct 14 00:53:40 2004
@@ -170,6 +170,12 @@
   //
   list<string> TSFlagsFields = [];
   list<int>    TSFlagsShifts = [];
+
+  // Target can specify its instructions in either big or little-endian formats.
+  // For instance, while both Sparc and PowerPC are big-endian platforms, the
+  // Sparc manual specifies its instructions in the format [31..0] (big), while
+  // PowerPC specifies them using the format [0..31] (little).
+  bit isLittleEndianEncoding = 0;
 }
 
 //===----------------------------------------------------------------------===//






More information about the llvm-commits mailing list