[Bug target/40072] Nonoptimal code - CMOVxx %eax,%edi; mov %edi,%eax; retq
vvv at ru dot ru
gcc-bugzilla@gcc.gnu.org
Sun May 10 16:09:00 GMT 2009
------- Comment #3 from vvv at ru dot ru 2009-05-10 16:09 -------
> Not really, the move insn is moved to the beginning of the function:
> 0000000000000060 <int_int>:
> 60: 89 f8 mov %edi,%eax
> 62: 83 ff 08 cmp $0x8,%edi
> 65: ba 00 00 00 00 mov $0x0,%edx
> 6a: 0f 4d c2 cmovge %edx,%eax
> 6d: c3 retq
You are right. Bug reopen.
--
vvv at ru dot ru changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40072
More information about the Gcc-bugs
mailing list