[PATCH 1/5] PowerPC64 extended instructions in powerpc_macros

Peter Bergner bergner@linux.ibm.com
Fri Mar 18 21:40:08 GMT 2022


On 3/15/22 6:40 PM, Alan Modra via Binutils wrote:
> The extended instructions implemented in powerpc_macros aren't used by
> the disassembler.  That means instructions like "sldi r3,r3,2" appear
> in disassembly as "rldicr r3,r3,2,61", which is annoying since many
> other extended instructions are shown.
> 
> Note that some of the instructions moved out of the macro table to the
> opcode table won't appear in disassembly, because they are aliases
> rather than a subset of the underlying raw instruction.  If enabled,
> rotrdi, extrdi, extldi, clrlsldi, and insrdi would replace all
> occurrences of rotldi, rldicl, rldicr, rldic and rldimi.  (Or many
> occurrences in the case of clrlsldi if n <= b was added to the extract
> functions.)

Very nice!  I hated the macros table, especially because we never did get
the rldicl extended mnemonics in our disassembly.  Thanks!!!

Peter




More information about the Binutils mailing list