mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +00:00
Add disassembler support for long encodings for INC/DEC in 32-bit mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192086 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -491,7 +491,8 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const {
|
||||
assert(Rec->isSubClassOf("X86Inst") && "Can only filter X86 instructions");
|
||||
|
||||
if (Form == X86Local::Pseudo ||
|
||||
(IsCodeGenOnly && Name.find("_REV") == Name.npos))
|
||||
(IsCodeGenOnly && Name.find("_REV") == Name.npos &&
|
||||
Name.find("INC32") == Name.npos && Name.find("DEC32") == Name.npos))
|
||||
return FILTER_STRONG;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user