mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
A8.6.16 B
Encoding T1 (tBcc) if cond == '1110' then UNDEFINED; rdar://problem/9268681 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129325 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -951,6 +951,11 @@ static bool DisassembleThumb1CondBr(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
: (int)Imm8));
|
||||
|
||||
// Predicate operands by ARMBasicMCBuilder::TryPredicateAndSBitModifier().
|
||||
// But note that for tBcc, if cond = '1110' then UNDEFINED.
|
||||
if (Opcode == ARM::tBcc && slice(insn, 11, 8) == 14) {
|
||||
DEBUG(errs() << "if cond = '1110' then UNDEFINED\n");
|
||||
return false;
|
||||
}
|
||||
NumOpsAdded = 1;
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user