Tidy up.
authorJim Grosbach <grosbach@apple.com>
Fri, 10 Dec 2010 20:51:35 +0000 (20:51 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 10 Dec 2010 20:51:35 +0000 (20:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121522 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrFormats.td

index e936dc575b87cadee94a0edfc18b27926d8fe4af..a035cca8cacaed6b578d5f202b1809f97561aab5 100644 (file)
@@ -1009,25 +1009,22 @@ class T2Iso<dag oops, dag iops, InstrItinClass itin,
 class T2Ipc<dag oops, dag iops, InstrItinClass itin,
             string opc, string asm, list<dag> pattern>
   : Thumb2I<oops, iops, AddrModeT2_pc, Size4Bytes, itin, opc, asm, "", pattern>;
-class T2Ii8s4<bit P, bit W, bit load, dag oops, dag iops, InstrItinClass itin,
+class T2Ii8s4<bit P, bit W, bit isLoad, dag oops, dag iops, InstrItinClass itin,
               string opc, string asm, list<dag> pattern>
   : Thumb2I<oops, iops, AddrModeT2_i8s4, Size4Bytes, itin, opc, asm, "",
             pattern> {
-  let Inst{31-27} = 0b11101;
-  let Inst{26-25} = 0b00;
-  let Inst{24}    = P;
-  let Inst{23}    = ?; // The U bit.
-  let Inst{22}    = 1;
-  let Inst{21}    = W;
-  let Inst{20}    = load;
-
   bits<4> Rt;
   bits<4> Rt2;
   bits<13> addr;
+  let Inst{31-25} = 0b1110100;
+  let Inst{24}    = P;
+  let Inst{23}    = addr{8};
+  let Inst{22}    = 1;
+  let Inst{21}    = W;
+  let Inst{20}    = isLoad;
+  let Inst{19-16} = addr{12-9};
   let Inst{15-12} = Rt{3-0};
   let Inst{11-8}  = Rt2{3-0};
-  let Inst{19-16} = addr{12-9};
-  let Inst{23}    = addr{8};
   let Inst{7-0}   = addr{7-0};
 }