c/5972: produces wrong assembly code when -march=pentiumpro and optimization (e.g. -O2)is on

Michael Lee ml@slack.net
Fri Mar 15 11:56:00 GMT 2002


The following reply was made to PR c/5972; it has been noted by GNATS.

From: Michael Lee <ml@slack.net>
To: jakub@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c/5972: produces wrong assembly code when -march=pentiumpro and
 optimization (e.g. -O2)is on
Date: Fri, 15 Mar 2002 14:49:46 -0500 (EST)

 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
 > 
 



More information about the Gcc-prs mailing list