[Bug target/56309] conditional moves instead of compare and branch result in almost 2x slower code

peter at cordes dot ca gcc-bugzilla@gcc.gnu.org
Sat Sep 4 20:26:35 GMT 2021


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

--- Comment #37 from Peter Cordes <peter at cordes dot ca> ---
Correction, PR82666 is that the cmov on the critical path happens even at -O2
(with GCC7 and later).  Not just with -O3 -fno-tree-vectorize.

Anyway, that's related, but probably separate from choosing to do if-conversion
or not after inlining.


More information about the Gcc-bugs mailing list