This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/82666] [7/8 regression]: sum += (x>128 ? x : 0) puts the cmov on the critical path (at -O2)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82666

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 42437
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42437&action=edit
Reproducer (micro benchmark)

Confirmed, I'm attaching micro-benchmark that I run on my Haswell machine.
In time between GCC 6.x and current trunk we first improved performance in
r239414 from 1.392704s -> 1.228814s. Then we significantly regressed in r242832
from 1.209454s -> 1.929302s.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]