Remove fake operand handling for extended mnemonics.
authorPeter Bergner <bergner@vnet.ibm.com>
Mon, 21 May 2018 22:31:07 +0000 (17:31 -0500)
committerPeter Bergner <bergner@vnet.ibm.com>
Mon, 21 May 2018 22:31:07 +0000 (17:31 -0500)
commit98553ad33eba6353b0e4181ae51dfdf2d7e652ac
tree9ecea4fa3f1729ae33534493394bef05f3c8c1de
parent122b53ea6a99c8811fb9cb84869b949b1ac55b22
Remove fake operand handling for extended mnemonics.

opcodes/
* ppc-opc.c (insert_bat, extract_bat, insert_bba, extract_bba,
insert_rbs, extract_rbs, insert_xb6s, extract_xb6s): Delete functions.
(insert_bab, extract_bab, insert_btab, extract_btab,
insert_rsb, extract_rsb, insert_xab6, extract_xab6): New functions.
(BAT, BBA VBA RBS XB6S): Delete macros.
(BTAB, BAB, VAB, RAB, RSB, XAB6): New macros.
(BB, BD, RBX, XC6): Update for new macros.
(powerpc_opcodes) <evmr, evnot, vmr, vnot, crnot, crclr, crset,
crmove, not, not., mr, mr., xxspltd, xxswapd, xvmovsp, xvmovdp,
e_crnot, e_crclr, e_crset, e_crmove>: Likewise.
* ppc-dis.c (print_insn_powerpc): Delete handling of fake operands.

include/
* opcode/ppc.h (PPC_OPERAND_FAKE): Delete macro.

gas/
* config/tc-ppc.c (md_assemble): Delete handling of fake operands.
* testsuite/gas/ppc/common.s (crmove, cror, or., or, nor., nor): Add
test of extended mnemonics.
* testsuite/gas/ppc/common.d: Likewise.  Don't match instruction offset.
* testsuite/gas/ppc/spe.s (evor, evnor): Add test of extended mnemonics.
* testsuite/gas/ppc/spe.d: Likewise.  Don't match instruction offset.
gas/ChangeLog
gas/config/tc-ppc.c
gas/testsuite/gas/ppc/common.d
gas/testsuite/gas/ppc/common.s
gas/testsuite/gas/ppc/spe.d
gas/testsuite/gas/ppc/spe.s
include/ChangeLog
include/opcode/ppc.h
opcodes/ChangeLog
opcodes/ppc-dis.c
opcodes/ppc-opc.c