[Bug target/40072] Nonoptimal code - CMOVxx %eax,%edi; mov %edi,%eax; retq

2019-03-04 Thread steven at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40072

Steven Bosscher  changed:

   What|Removed |Added

 Status|REOPENED|NEW
   Last reconfirmed|2009-05-08 16:08:31 |2019-3-4
 CC|steven at gcc dot gnu.org  |
  Known to fail||8.2.0

[Bug target/40072] Nonoptimal code - CMOVxx %eax,%edi; mov %edi,%eax; retq

2009-05-09 Thread ubizjak at gmail dot com


--- Comment #2 from ubizjak at gmail dot com  2009-05-09 21:37 ---
(In reply to comment #1)
 There is no bug for current trunk. So bug fixed.

Not really, the move insn is moved to the beginning of the function:

0060 int_int:
  60:   89 f8   mov%edi,%eax
  62:   83 ff 08cmp$0x8,%edi
  65:   ba 00 00 00 00  mov$0x0,%edx
  6a:   0f 4d c2cmovge %edx,%eax
  6d:   c3  retq   


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40072



[Bug target/40072] Nonoptimal code - CMOVxx %eax,%edi; mov %edi,%eax; retq

2009-05-08 Thread steven at gcc dot gnu dot org


-- 

steven at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||steven at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-05-08 16:08:31
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40072



[Bug target/40072] Nonoptimal code - CMOVxx %eax,%edi; mov %edi,%eax; retq

2009-05-08 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|minor   |enhancement
 GCC target triplet||x86_64-*-*
   Keywords||missed-optimization


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40072