mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 08:44:48 +00:00
Add isLittleEndianEncoding to InstrInfo class, defaults to `off'
llvm-svn: 16976
This commit is contained in:
parent
4e252ebfa0
commit
628b2ba095
@ -170,6 +170,12 @@ class InstrInfo {
|
|||||||
//
|
//
|
||||||
list<string> TSFlagsFields = [];
|
list<string> TSFlagsFields = [];
|
||||||
list<int> TSFlagsShifts = [];
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user