@@ -9053,10 +9053,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
9053
9053
TmpInst.setOpcode (Inst.getOpcode () == ARM::t2LDR_PRE_imm ? ARM::t2LDR_PRE
9054
9054
: ARM::t2LDR_POST);
9055
9055
TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9056
- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9056
+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
9057
9057
TmpInst.addOperand (Inst.getOperand (1 )); // Rn
9058
9058
TmpInst.addOperand (Inst.getOperand (2 )); // imm
9059
9059
TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9060
+ TmpInst.addOperand (Inst.getOperand (4 ));
9060
9061
Inst = TmpInst;
9061
9062
return true ;
9062
9063
}
@@ -9066,11 +9067,12 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
9066
9067
MCInst TmpInst;
9067
9068
TmpInst.setOpcode (Inst.getOpcode () == ARM::t2STR_PRE_imm ? ARM::t2STR_PRE
9068
9069
: ARM::t2STR_POST);
9069
- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9070
+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
9070
9071
TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9071
9072
TmpInst.addOperand (Inst.getOperand (1 )); // Rn
9072
9073
TmpInst.addOperand (Inst.getOperand (2 )); // imm
9073
9074
TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9075
+ TmpInst.addOperand (Inst.getOperand (4 ));
9074
9076
Inst = TmpInst;
9075
9077
return true ;
9076
9078
}
@@ -9092,10 +9094,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
9092
9094
? ARM::t2LDRB_PRE
9093
9095
: ARM::t2LDRB_POST);
9094
9096
TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9095
- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9097
+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
9096
9098
TmpInst.addOperand (Inst.getOperand (1 )); // Rn
9097
9099
TmpInst.addOperand (Inst.getOperand (2 )); // imm
9098
9100
TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9101
+ TmpInst.addOperand (Inst.getOperand (4 ));
9099
9102
Inst = TmpInst;
9100
9103
return true ;
9101
9104
}
@@ -9116,11 +9119,12 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
9116
9119
TmpInst.setOpcode (Inst.getOpcode () == ARM::t2STRB_PRE_imm
9117
9120
? ARM::t2STRB_PRE
9118
9121
: ARM::t2STRB_POST);
9119
- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9122
+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
9120
9123
TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9121
9124
TmpInst.addOperand (Inst.getOperand (1 )); // Rn
9122
9125
TmpInst.addOperand (Inst.getOperand (2 )); // imm
9123
9126
TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9127
+ TmpInst.addOperand (Inst.getOperand (4 ));
9124
9128
Inst = TmpInst;
9125
9129
return true ;
9126
9130
}
@@ -9142,10 +9146,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
9142
9146
? ARM::t2LDRH_PRE
9143
9147
: ARM::t2LDRH_POST);
9144
9148
TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9145
- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9149
+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
9146
9150
TmpInst.addOperand (Inst.getOperand (1 )); // Rn
9147
9151
TmpInst.addOperand (Inst.getOperand (2 )); // imm
9148
9152
TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9153
+ TmpInst.addOperand (Inst.getOperand (4 ));
9149
9154
Inst = TmpInst;
9150
9155
return true ;
9151
9156
}
@@ -9166,11 +9171,12 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
9166
9171
TmpInst.setOpcode (Inst.getOpcode () == ARM::t2STRH_PRE_imm
9167
9172
? ARM::t2STRH_PRE
9168
9173
: ARM::t2STRH_POST);
9169
- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9174
+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
9170
9175
TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9171
9176
TmpInst.addOperand (Inst.getOperand (1 )); // Rn
9172
9177
TmpInst.addOperand (Inst.getOperand (2 )); // imm
9173
9178
TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9179
+ TmpInst.addOperand (Inst.getOperand (4 ));
9174
9180
Inst = TmpInst;
9175
9181
return true ;
9176
9182
}
@@ -9192,10 +9198,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
9192
9198
? ARM::t2LDRSB_PRE
9193
9199
: ARM::t2LDRSB_POST);
9194
9200
TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9195
- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9201
+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
9196
9202
TmpInst.addOperand (Inst.getOperand (1 )); // Rn
9197
9203
TmpInst.addOperand (Inst.getOperand (2 )); // imm
9198
9204
TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9205
+ TmpInst.addOperand (Inst.getOperand (4 ));
9199
9206
Inst = TmpInst;
9200
9207
return true ;
9201
9208
}
@@ -9217,10 +9224,11 @@ bool ARMAsmParser::processInstruction(MCInst &Inst,
9217
9224
? ARM::t2LDRSH_PRE
9218
9225
: ARM::t2LDRSH_POST);
9219
9226
TmpInst.addOperand (Inst.getOperand (0 )); // Rt
9220
- TmpInst.addOperand (Inst.getOperand (4 )); // Rt_wb
9227
+ TmpInst.addOperand (Inst.getOperand (1 )); // Rn_wb
9221
9228
TmpInst.addOperand (Inst.getOperand (1 )); // Rn
9222
9229
TmpInst.addOperand (Inst.getOperand (2 )); // imm
9223
9230
TmpInst.addOperand (Inst.getOperand (3 )); // CondCode
9231
+ TmpInst.addOperand (Inst.getOperand (4 ));
9224
9232
Inst = TmpInst;
9225
9233
return true ;
9226
9234
}
0 commit comments