Add bits 31-28 to the Thumb2 encoding of TBB/TBH.
authorJim Grosbach <grosbach@apple.com>
Fri, 17 Dec 2010 18:42:56 +0000 (18:42 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 17 Dec 2010 18:42:56 +0000 (18:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122076 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb2.td

index 9c01725788a0507f7d15938a0e98a52e13feccb8..a7261ff567f6f818502bbb2d896856f848381813 100644 (file)
@@ -3003,7 +3003,7 @@ def t2TBB : T2I<(outs), (ins GPR:$Rn, GPR:$Rm), IIC_Br,
                     "tbb", "\t[$Rn, $Rm]", []> {
   bits<4> Rn;
   bits<4> Rm;
-  let Inst{27-20} = 0b10001101;
+  let Inst{31-20} = 0b111010001101;
   let Inst{19-16} = Rn;
   let Inst{15-5} = 0b11110000000;
   let Inst{4} = 0; // B form
@@ -3014,7 +3014,7 @@ def t2TBH : T2I<(outs), (ins GPR:$Rn, GPR:$Rm), IIC_Br,
                    "tbh", "\t[$Rn, $Rm, lsl #1]", []> {
   bits<4> Rn;
   bits<4> Rm;
-  let Inst{27-20} = 0b10001101;
+  let Inst{31-20} = 0b111010001101;
   let Inst{19-16} = Rn;
   let Inst{15-5} = 0b11110000000;
   let Inst{4} = 1; // H form