This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Deprecating ppc opcodes
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 7 Jan 2009 11:16:37 +1030
- Subject: Re: Deprecating ppc opcodes
- References: <1229643901.6825.45.camel@otta>
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