From 628b2ba0957fa5bc77126ba9922a9f1f62c42561 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 14 Oct 2004 05:53:40 +0000 Subject: [PATCH] Add isLittleEndianEncoding to InstrInfo class, defaults to `off' llvm-svn: 16976 --- lib/Target/Target.td | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Target/Target.td b/lib/Target/Target.td index 522a46cbc21..bdc30c06cd3 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -170,6 +170,12 @@ class InstrInfo { // list TSFlagsFields = []; list 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; } //===----------------------------------------------------------------------===//