Skip to content

Add PowerPC paired-singles support #1898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions arch/PowerPC/PPCDisassembler.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,16 @@ static DecodeStatus getInstruction(MCInst *MI,
return result;
}

// failed to decode
MCInst_clear(MI);
} else if (MI->csh->mode & CS_MODE_PS) {
result = decodeInstruction_4(DecoderTablePS32, MI, insn, Address);
if (result != MCDisassembler_Fail) {
*Size = 4;

return result;
}

// failed to decode
MCInst_clear(MI);
}
Expand Down
7,512 changes: 3,854 additions & 3,658 deletions arch/PowerPC/PPCGenAsmWriter.inc

Large diffs are not rendered by default.

5,577 changes: 2,887 additions & 2,690 deletions arch/PowerPC/PPCGenDisassemblerTables.inc

Large diffs are not rendered by default.

Loading