mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Fix decoding for indexed STRB and LDRB. Fixes <rdar://problem/9926161>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137347 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -941,6 +941,8 @@ static bool DecodeAddrMode2IdxInstruction(llvm::MCInst &Inst, unsigned Insn,
|
||||
switch (Inst.getOpcode()) {
|
||||
case ARM::STR_POST_IMM:
|
||||
case ARM::STR_POST_REG:
|
||||
case ARM::STRB_POST_IMM:
|
||||
case ARM::STRB_POST_REG:
|
||||
case ARM::STRTr:
|
||||
case ARM::STRTi:
|
||||
case ARM::STRBT_POST_REG:
|
||||
@ -957,6 +959,8 @@ static bool DecodeAddrMode2IdxInstruction(llvm::MCInst &Inst, unsigned Insn,
|
||||
switch (Inst.getOpcode()) {
|
||||
case ARM::LDR_POST_IMM:
|
||||
case ARM::LDR_POST_REG:
|
||||
case ARM::LDRB_POST_IMM:
|
||||
case ARM::LDRB_POST_REG:
|
||||
case ARM::LDR_PRE:
|
||||
case ARM::LDRBT_POST_REG:
|
||||
case ARM::LDRBT_POST_IMM:
|
||||
|
Reference in New Issue
Block a user