diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2018-05-21 17:31:07 -0500 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2018-05-21 17:31:07 -0500 |
commit | 98553ad33eba6353b0e4181ae51dfdf2d7e652ac (patch) | |
tree | 9ecea4fa3f1729ae33534493394bef05f3c8c1de /opcodes/ppc-dis.c | |
parent | 122b53ea6a99c8811fb9cb84869b949b1ac55b22 (diff) | |
download | gdb-98553ad33eba6353b0e4181ae51dfdf2d7e652ac.zip gdb-98553ad33eba6353b0e4181ae51dfdf2d7e652ac.tar.gz gdb-98553ad33eba6353b0e4181ae51dfdf2d7e652ac.tar.bz2 |
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.
Diffstat (limited to 'opcodes/ppc-dis.c')
-rw-r--r-- | opcodes/ppc-dis.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c index 412aae0..43f4ce8 100644 --- a/opcodes/ppc-dis.c +++ b/opcodes/ppc-dis.c @@ -725,12 +725,6 @@ print_insn_powerpc (bfd_vma memaddr, operand = powerpc_operands + *opindex; - /* Operands that are marked FAKE are simply ignored. We - already made sure that the extract function considered - the instruction to be valid. */ - if ((operand->flags & PPC_OPERAND_FAKE) != 0) - continue; - /* If all of the optional operands have the value zero, then don't print any of them. */ if ((operand->flags & PPC_OPERAND_OPTIONAL) != 0) |