This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/14347] ifconvert doesn't generate conditional store on i386
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2004 03:48:09 -0000
- Subject: [Bug rtl-optimization/14347] ifconvert doesn't generate conditional store on i386
- References: <20040229165737.14347.ak@muc.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-30 03:48 -------
This has been fixed since 3.3.3, note that -march=pentium3 is needed to get the cmov instruction.
This is what I get in 3.3.3, 3.4.0, and 3.5.0 for the first function:
f:
cmpl $1, 4(%esp)
movl $2, %edx
cmovne foo, %edx
movl %edx, foo
ret
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14347