Specify fixed bit in the LDRBT encoding, which allows us to distinguish it from certa...
authorOwen Anderson <resistor@mac.com>
Fri, 12 Aug 2011 19:41:29 +0000 (19:41 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 12 Aug 2011 19:41:29 +0000 (19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137494 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index 2a029ddb200afdb4b5177afb526119dcc02c3322..44acbdc70540afbe94436d49d1a70ec6b8ec0ee5 100644 (file)
@@ -2164,7 +2164,9 @@ def LDRBT_POST_REG : AI2ldstidx<1, 1, 0, (outs GPR:$Rt, GPR:$Rn_wb),
   let Inst{23} = offset{12};
   let Inst{21} = 1; // overwrite
   let Inst{19-16} = addr;
-  let Inst{11-0} = offset{11-0};
+  let Inst{11-5} = offset{11-5};
+  let Inst{4} = 0;
+  let Inst{3-0} = offset{3-0};
   let DecoderMethod = "DecodeAddrMode2IdxInstruction";
 }