aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-03-17 21:13:43 +0000
committerBob Wilson <bob.wilson@apple.com>2010-03-17 21:13:43 +0000
commit89ef7b797ae949edd592f5f71dddbae6ea35c2bf (patch)
treefa34522a3e632da7fe93950cde2b66466c20daa9 /lib
parente5636a3221b3e84b9c15c2a0c55252865e5de335 (diff)
downloadexternal_llvm-89ef7b797ae949edd592f5f71dddbae6ea35c2bf.zip
external_llvm-89ef7b797ae949edd592f5f71dddbae6ea35c2bf.tar.gz
external_llvm-89ef7b797ae949edd592f5f71dddbae6ea35c2bf.tar.bz2
Increase format field from 5 to 6 bits. ARMII::FormMask was increased to 0x3f
in svn r74988 but the format field was never widened. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMInstrFormats.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td
index 52553f5..f79c485 100644
--- a/lib/Target/ARM/ARMInstrFormats.td
+++ b/lib/Target/ARM/ARMInstrFormats.td
@@ -15,8 +15,8 @@
// Format specifies the encoding used by the instruction. This is part of the
// ad-hoc solution used to emit machine instruction encodings by our machine
// code emitter.
-class Format<bits<5> val> {
- bits<5> Value = val;
+class Format<bits<6> val> {
+ bits<6> Value = val;
}
def Pseudo : Format<0>;
@@ -183,7 +183,7 @@ class InstTemplate<AddrMode am, SizeFlagVal sz, IndexMode im,
bits<2> IndexModeBits = IM.Value;
Format F = f;
- bits<5> Form = F.Value;
+ bits<6> Form = F.Value;
Domain D = d;
bits<2> Dom = D.Value;