diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2009-01-15 04:27:28 +0000 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2009-01-15 04:27:28 +0000 |
commit | 21169fcfadfac63f7c02e33e19301cf375930b5e (patch) | |
tree | d545609c268e153a1916cad1dd063f8bb10938c2 /opcodes/ppc-dis.c | |
parent | bbbfea06e5f64310ea70f28722f8e43ec01abbca (diff) | |
download | gdb-21169fcfadfac63f7c02e33e19301cf375930b5e.zip gdb-21169fcfadfac63f7c02e33e19301cf375930b5e.tar.gz gdb-21169fcfadfac63f7c02e33e19301cf375930b5e.tar.bz2 |
opcodes/
* ppc-dis.c (print_insn_powerpc): Skip insn if it is deprecated.
* ppc-opc.c (powerpc_opcodes) <mtfsf, mtfsf.>: Deprecate the two
operand form and enable the four operand form for POWER6 and later.
<mtfsfi, mtfsfi.>: Deprecate the two operand form and enable the
three operand form for POWER6 and later.
gas/testsuite/
* gas/ppc/power6.s ("mtfsf", "mtfsf.", "mtfsfi", "mtfsfi."): Add tests.
* gas/ppc/power6.d: Likewise.
Diffstat (limited to 'opcodes/ppc-dis.c')
-rw-r--r-- | opcodes/ppc-dis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c index 061aa84..88c4fe7 100644 --- a/opcodes/ppc-dis.c +++ b/opcodes/ppc-dis.c @@ -266,7 +266,8 @@ print_insn_powerpc (bfd_vma memaddr, continue; if ((insn & opcode->mask) != opcode->opcode - || (opcode->flags & dialect) == 0) + || (opcode->flags & dialect) == 0 + || (opcode->deprecated & dialect) != 0) continue; /* Make two passes over the operands. First see if any of them |