1: decode OPCODE_7 {
0x0: decode MISC_OPCODE {
0x0: ArmMsrMrs::armMsrMrs();
- 0x1: ArmBxClz::armBxClz();
- 0x2: decode OPCODE {
- 0x9: WarnUnimpl::bxj();
- }
+ // bxj unimplemented, treated as bx
+ 0x1,0x2: ArmBxClz::armBxClz();
0x3: decode OPCODE {
0x9: ArmBlxReg::armBlxReg();
}
break;
}
case 0x3c:
- return new WarnUnimplemented("bxj", machInst);
+ {
+ // On systems that don't support bxj, bxj == bx
+ return new BxReg(machInst,
+ (IntRegIndex)(uint32_t)bits(machInst, 19, 16),
+ COND_UC);
+ }
case 0x3d:
{
const uint32_t imm32 = bits(machInst, 7, 0);