mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Instruction formats of SWP/SWPB were changed from LdStExFrm to MiscFrm. Modify the disassembler to handle that.
rdar://problem/9184053 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2951,6 +2951,11 @@ static bool DisassembleMiscFrm(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
case ARM::WFI:
|
||||
case ARM::SEV:
|
||||
return true;
|
||||
case ARM::SWP:
|
||||
case ARM::SWPB:
|
||||
// SWP, SWPB: Rd Rm Rn
|
||||
// Delegate to DisassembleLdStExFrm()....
|
||||
return DisassembleLdStExFrm(MI, Opcode, insn, NumOps, NumOpsAdded, B);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user