PowerPC table driven -Mraw disassembly

Peter Bergner bergner@linux.ibm.com
Sun May 30 14:37:17 GMT 2021


On 5/29/21 6:35 AM, Alan Modra wrote:
> This is what I'm going with.  Simplicity wins.
> 
> opcodes/
> 	* ppc-dis.c (lookup_powerpc): Test deprecated field when -Many.
> 	Don't special case PPC_OPCODE_RAW.
> 	(lookup_prefix): Likewise.
> 	(lookup_vle, lookup_spe2): Similarly.  Add dialect parameter and..
> 	(print_insn_powerpc): ..update caller.
> 	* ppc-opc.c (EXT): Define.
> 	(powerpc_opcodes): Mark extended mnemonics with EXT.
> 	(prefix_opcodes, vle_opcodes): Likewise.
> 	(XISEL, XISEL_MASK): Add cr field and simplify.
> 	(powerpc_opcodes): Use XISEL with extended isel mnemonics and sort
> 	all isel variants to where the base mnemonic belongs.  Sort dstt,
> 	dststt and dssall.
> gas/
> 	* testsuite/gas/ppc/raw.s,
> 	* testsuite/gas/ppc/raw.d: New test.
> 	* testsuite/gas/ppc/ppc.exp: Run it.

Looks great, thanks!

Peter



More information about the Binutils mailing list