Gas can't handle prefix generated by gcc

Zack Weinberg
Fri Jul 23 21:22:00 GMT 2004

"H. J. Lu" <> writes:

>> > It was added to gas on Jun 8, 1998.
>> Ok, that's good enough.  Now how about (b)?
> I have no ideas how other i386 assemblers handle it. It doesn't matter
> much since gcc should check this feature before using it.

Lemme put it this way.  I am willing to write the patch to change GCC
if and only if I do not have to write configure macros.  And configure
macros must be written unless we can prove that "cs/je", "rep/stosl",
etc. are acceptable by all the assemblers that people care about,
since time immemorial.

So you get three choices:

1) Make GAS accept cs;je and do the right thing.
2) Prove that cs/je, rep/stosl, etc are acceptable to all i386
   assemblers since time immemorial.
3) Write the GCC patch yourself.  And I will not review it.

And yes, those are in order of decreasing preference.


More information about the Binutils mailing list