target/5760: -masm=intel [a.k.a. -mintel-syntax] generatesincorrect x87 code

Graham Stott grahams@redhat.com
Tue Feb 26 16:30:00 GMT 2002


Kelly,

Kelley Cook wrote:
> 
> Repost due to spamcop block of comcast.net:
> 
[snip]
> 
> Almost the remaining failures these are due to use of the length extension
> for "rep movs/stos/...", but I consider this a binutils .intel-syntax bug.
> 
> In Intel mode, it no longer seems to accept the masm alias 'rep movsd'
> for incredibly unwieldly 'rep movs dword ptr es:[edi],dword ptr ds:[esi]'.
> Ditto for the rest of the 'rep' instructions.
I've probably got fixes for these binutils problems somewhere, note movsd is now
context sensitive because it's also a SSE2 mnemonic.

Graham



More information about the Gcc-bugs mailing list