mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
target: arm: disassembler: decode v6T2 ARM ISB instruction
Change-Id: Iaaa54aee6a74f0b250b83c53e7a3fb7c17718920 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/3895 Tested-by: jenkins
This commit is contained in:
@@ -170,6 +170,18 @@ static int evaluate_pld(uint32_t opcode,
|
||||
|
||||
return ERROR_OK;
|
||||
}
|
||||
/* ISB */
|
||||
if ((opcode & 0x07f000f0) == 0x05700060) {
|
||||
instruction->type = ARM_ISB;
|
||||
|
||||
snprintf(instruction->text,
|
||||
128,
|
||||
"0x%8.8" PRIx32 "\t0x%8.8" PRIx32 "\tISB %s",
|
||||
address, opcode,
|
||||
((opcode & 0x0000000f) == 0xf) ? "SY" : "UNK");
|
||||
|
||||
return ERROR_OK;
|
||||
}
|
||||
return evaluate_unknown(opcode, address, instruction);
|
||||
}
|
||||
|
||||
|
||||
@@ -107,6 +107,7 @@ enum arm_instruction_type {
|
||||
ARM_MRRC,
|
||||
ARM_PLD,
|
||||
ARM_DSB,
|
||||
ARM_ISB,
|
||||
ARM_QADD,
|
||||
ARM_QDADD,
|
||||
ARM_QSUB,
|
||||
|
||||
Reference in New Issue
Block a user