PATCH: Add --alt-nops=short|long to x86/x86-64 assemblers

H. J. Lu hjl@lucon.org
Thu Jun 15 17:41:00 GMT 2006


On Thu, Jun 15, 2006 at 05:20:26PM +0100, Paul Brook wrote:
> > > > x86/x86-64 assembler support .arch. But I don't think gcc uses it. I
> > > > am not sure how well it will work with existing code bases if gcc
> > > > starts generating .arch.
> >
> > I was talking about the code like
> >
> > 	asm ("some SSE instruction");
> >
> > If gcc starts to generate ".arch i686", the code above won't compile
> > any more.
> 
> I'd say that code is broken. You'd have the same problem if you implemented 
> the commandline options. I don't really see why x86 is any different to other 
> architectures in this respect.

x86 is different, for better or worse. The reality is we can't change
it in such a way that all sudden the existing codes won't compile any
more.


H.J.



More information about the Binutils mailing list