mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
Fix ARM disassembly of VLD instructions with writebacks. And add test a case
for all opcodes handed by DecodeVLDInstruction() in ARMDisassembler.cpp . git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2262,6 +2262,8 @@ static DecodeStatus DecodeVLDInstruction(MCInst &Inst, unsigned Insn,
|
||||
case ARM::VLD2b8wb_register:
|
||||
case ARM::VLD2b16wb_register:
|
||||
case ARM::VLD2b32wb_register:
|
||||
Inst.addOperand(MCOperand::CreateImm(0));
|
||||
break;
|
||||
case ARM::VLD3d8_UPD:
|
||||
case ARM::VLD3d16_UPD:
|
||||
case ARM::VLD3d32_UPD:
|
||||
@ -2330,6 +2332,16 @@ static DecodeStatus DecodeVLDInstruction(MCInst &Inst, unsigned Insn,
|
||||
!Check(S, DecodeGPRRegisterClass(Inst, Rm, Address, Decoder)))
|
||||
return MCDisassembler::Fail;
|
||||
break;
|
||||
case ARM::VLD2d8wb_fixed:
|
||||
case ARM::VLD2d16wb_fixed:
|
||||
case ARM::VLD2d32wb_fixed:
|
||||
case ARM::VLD2b8wb_fixed:
|
||||
case ARM::VLD2b16wb_fixed:
|
||||
case ARM::VLD2b32wb_fixed:
|
||||
case ARM::VLD2q8wb_fixed:
|
||||
case ARM::VLD2q16wb_fixed:
|
||||
case ARM::VLD2q32wb_fixed:
|
||||
break;
|
||||
}
|
||||
|
||||
return S;
|
||||
|
Reference in New Issue
Block a user