Deprecating ppc opcodes

Alan Modra amodra@bigpond.net.au
Wed Jan 7 00:46:00 GMT 2009


On Thu, Dec 18, 2008 at 05:45:01PM -0600, Peter Bergner wrote:
> Alan,
> 
> While working on the full POWER7 binutils, I noticed the L field of the
> fre instruction has been deprecated.  Looking at how we deprecate opcodes
> in the assembler, I see we have the NOPOWER4 macro which tells us it's not
> supported on POWER4.  For fre, it would seem I would need to define a
> NOPOWER7 macro.  However, the problem with that method is that it eats up
> bits in the opcode flag field.  Instead, would creating a deprecated field
> in struct ppc_opcode which would state when a opcode is no longer supported
> like the code below be acceptable?

Hi Peter,
  The patch is fine to commit with a changelog entry.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list