This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/5972: produces wrong assembly code when -march=pentiumpro andoptimization (e.g. -O2)is on
- From: Michael Lee <ml at slack dot net>
- To: jakub at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Fri, 15 Mar 2002 14:49:46 -0500 (EST)
- Subject: Re: c/5972: produces wrong assembly code when -march=pentiumpro andoptimization (e.g. -O2)is on
You're correct the lines are "cmovne %edx, %edi" and "cmovne %edx, %esi."
-ml
On 15 Mar 2002 jakub@gcc.gnu.org wrote:
> Synopsis: produces wrong assembly code when -march=pentiumpro and optimization (e.g. -O2)is on
>
> State-Changed-From-To: open->feedback
> State-Changed-By: jakub
> State-Changed-When: Fri Mar 15 08:56:13 2002
> State-Changed-Why:
> Can you please mention the content of line 362 and 447 in
> assembly (-save-temps)?
> My guess would be it is cmovne, something like:
> cmovne %eax, %esi
> I don't have access to Solaris ia32, so someone who has
> needs to figure out what Solaris as syntax for this is,
> and if it isn't able to assemble this instruction, then
> we'd need to mask TARGET_CMOVE out with Solaris as.
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5972
>