@@ -9053,10 +9053,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
90539053 TmpInst.setOpcode (Inst.getOpcode () == ARM::t2LDR_PRE_imm ? ARM::t2LDR_PRE
90549054 : ARM::t2LDR_POST);
90559055 TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9056- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9056+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
90579057 TmpInst.addOperand (Inst.getOperand (1 )); // Rn
90589058 TmpInst.addOperand (Inst.getOperand (2 )); // imm
90599059 TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9060+ TmpInst.addOperand (Inst.getOperand (4 ));
90609061 Inst = TmpInst;
90619062 return true ;
90629063 }
@@ -9066,11 +9067,12 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
90669067 MCInst TmpInst;
90679068 TmpInst.setOpcode (Inst.getOpcode () == ARM::t2STR_PRE_imm ? ARM::t2STR_PRE
90689069 : ARM::t2STR_POST);
9069- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9070+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
90709071 TmpInst.addOperand (Inst.getOperand (0 )); // Rt
90719072 TmpInst.addOperand (Inst.getOperand (1 )); // Rn
90729073 TmpInst.addOperand (Inst.getOperand (2 )); // imm
90739074 TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9075+ TmpInst.addOperand (Inst.getOperand (4 ));
90749076 Inst = TmpInst;
90759077 return true ;
90769078 }
@@ -9092,10 +9094,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
90929094 ? ARM::t2LDRB_PRE
90939095 : ARM::t2LDRB_POST);
90949096 TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9095- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9097+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
90969098 TmpInst.addOperand (Inst.getOperand (1 )); // Rn
90979099 TmpInst.addOperand (Inst.getOperand (2 )); // imm
90989100 TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9101+ TmpInst.addOperand (Inst.getOperand (4 ));
90999102 Inst = TmpInst;
91009103 return true ;
91019104 }
@@ -9116,11 +9119,12 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
91169119 TmpInst.setOpcode (Inst.getOpcode () == ARM::t2STRB_PRE_imm
91179120 ? ARM::t2STRB_PRE
91189121 : ARM::t2STRB_POST);
9119- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9122+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
91209123 TmpInst.addOperand (Inst.getOperand (0 )); // Rt
91219124 TmpInst.addOperand (Inst.getOperand (1 )); // Rn
91229125 TmpInst.addOperand (Inst.getOperand (2 )); // imm
91239126 TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9127+ TmpInst.addOperand (Inst.getOperand (4 ));
91249128 Inst = TmpInst;
91259129 return true ;
91269130 }
@@ -9142,10 +9146,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
91429146 ? ARM::t2LDRH_PRE
91439147 : ARM::t2LDRH_POST);
91449148 TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9145- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9149+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
91469150 TmpInst.addOperand (Inst.getOperand (1 )); // Rn
91479151 TmpInst.addOperand (Inst.getOperand (2 )); // imm
91489152 TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9153+ TmpInst.addOperand (Inst.getOperand (4 ));
91499154 Inst = TmpInst;
91509155 return true ;
91519156 }
@@ -9166,11 +9171,12 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
91669171 TmpInst.setOpcode (Inst.getOpcode () == ARM::t2STRH_PRE_imm
91679172 ? ARM::t2STRH_PRE
91689173 : ARM::t2STRH_POST);
9169- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9174+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
91709175 TmpInst.addOperand (Inst.getOperand (0 )); // Rt
91719176 TmpInst.addOperand (Inst.getOperand (1 )); // Rn
91729177 TmpInst.addOperand (Inst.getOperand (2 )); // imm
91739178 TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9179+ TmpInst.addOperand (Inst.getOperand (4 ));
91749180 Inst = TmpInst;
91759181 return true ;
91769182 }
@@ -9192,10 +9198,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
91929198 ? ARM::t2LDRSB_PRE
91939199 : ARM::t2LDRSB_POST);
91949200 TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9195- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9201+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
91969202 TmpInst.addOperand (Inst.getOperand (1 )); // Rn
91979203 TmpInst.addOperand (Inst.getOperand (2 )); // imm
91989204 TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9205+ TmpInst.addOperand (Inst.getOperand (4 ));
91999206 Inst = TmpInst;
92009207 return true ;
92019208 }
@@ -9217,10 +9224,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
92179224 ? ARM::t2LDRSH_PRE
92189225 : ARM::t2LDRSH_POST);
92199226 TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9220- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9227+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
92219228 TmpInst.addOperand (Inst.getOperand (1 )); // Rn
92229229 TmpInst.addOperand (Inst.getOperand (2 )); // imm
92239230 TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9231+ TmpInst.addOperand (Inst.getOperand (4 ));
92249232 Inst = TmpInst;
92259233 return true ;
92269234 }
0 commit comments