* 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.
This commit is contained in:
Peter Bergner
2009-01-15 04:27:28 +00:00
parent bbbfea06e5
commit 21169fcfad
6 changed files with 51 additions and 5 deletions

View File

@@ -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