Skip to content

Commit

Permalink
Add unused but required vectorPermute pcodeop (#82)
Browse files Browse the repository at this point in the history
This, including the comment, is copied from Ghidra's PPC definitions.
Without the vectorPermute pcodeop defined, the
PPCEmulateInstructionStateModifier class produces an exception, breaking
all Ghidra functionality that depends on pcode emulation.
  • Loading branch information
jix authored Jun 8, 2024
1 parent d29f7e2 commit a908bbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/languages/ppc_gekko_broadway.slaspec
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,10 @@ define pcodeop TLBWrite;
define pcodeop WriteExternalEnable;
define pcodeop WriteExternalEnableImmediate;

# This is really used in the altivec version, but since it's a registered pcode op
# and due to the way things get @included, this needs to be here
define pcodeop vectorPermute;

################################################################
# Macros
################################################################
Expand Down

0 comments on commit a908bbe

Please sign in to comment.