Increase format field from 5 to 6 bits. ARMII::FormMask was increased to 0x3f
authorBob Wilson <bob.wilson@apple.com>
Wed, 17 Mar 2010 21:13:43 +0000 (21:13 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 17 Mar 2010 21:13:43 +0000 (21:13 +0000)
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

lib/Target/ARM/ARMInstrFormats.td

index 52553f5477dbee495d7ec72bc1f646ccd560e8bc..f79c48519e69a49c358d955985f4ff8424224f0e 100644 (file)
@@ -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;