This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: target/5760: -masm=intel [a.k.a. -mintel-syntax] generatesincorrect x87 code
- From: Graham Stott <grahams at redhat dot com>
- To: Kelley Cook <KelleyCook at comcast dot net>
- Cc: "gcc-bugs at gcc dot gnu dot org" <gcc-bugs at gcc dot gnu dot org>,"gcc-gnats at gcc dot gnu dot org" <gcc-gnats at gcc dot gnu dot org>,"gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Feb 2002 22:31:19 +0000
- Subject: Re: target/5760: -masm=intel [a.k.a. -mintel-syntax] generatesincorrect x87 code
- References: <0GS500J9UTZYR0@mtaout3.icomcast.net>
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