This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH,ppc] prohibit string instructions on processors that don't support them
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 26 Aug 2010 10:20:18 -0500
- Subject: Re: [PATCH,ppc] prohibit string instructions on processors that don't support them
- References: <1282767743.2641.29.camel@otta> <20100826143035.GB16898@codesourcery.com>
On Thu, 2010-08-26 at 07:30 -0700, Nathan Froyd wrote:
> On Wed, Aug 25, 2010 at 03:22:23PM -0500, Peter Bergner wrote:
> > Wouldn't it be easier to just add the appropriate flags to the deprecated
> > field to disable the string ops for the cpus that don't want them
> > similar to how we disable lwsync for E500?
> >
> > {"lwsync", XSYNC(31,598,1), 0xffffffff, PPC, E500, {0}},
>
> Oh my, yes, this is easier. Thanks for pointing that out.
>
> How about this patch?
Not that I can approve it, but it looks much better to me.
In fact, it seems it might be covered by the obvious rule.
Peter