[PATCH] Update mtfsf and mtfsfi instructions to support new optional operands.

Alan Modra amodra@bigpond.net.au
Fri May 18 00:15:00 GMT 2007


On Thu, May 17, 2007 at 09:38:58PM +0200, Segher Boessenkool wrote:
> >>Shouldn't the new forms be marked POWER6-only, not COM?
> >
> >Yes, but then you'd have two entries for the same opcode and you'd
> >need to introduce a NOPOWER6 flag so that only one entry was used.
> 
> Wouldn't it work to do two entries, the POWER6 variant
> first?  The table is searched in order, there are more
> things that depend on that already.  Or would the assembler
> have issues with this?

The assembler would die with a "duplicate instruction" error.  See
tc-ppc.c:ppc_setup_opcodes.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list