[PATCH,ppc] prohibit string instructions on processors that don't support them

Peter Bergner bergner@vnet.ibm.com
Thu Aug 26 15:50:00 GMT 2010


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




More information about the Binutils mailing list