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

2021-09-04 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #37 from Peter Cordes --- 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

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

2021-09-04 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 Peter Cordes changed: What|Removed |Added CC||peter at cordes dot ca --- Comment #36 fr

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

2015-12-15 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #35 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #26) > Another analysis by Jake in PR54037: Eh, PR 54073.

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

2015-08-06 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #34 from Yuri Rumyantsev --- Created attachment 36138 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36138&action=edit simple reproducer Use -O3 -std=c++14 options to compile and -fno-tree-loop-if-convert to get better performa

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

2015-08-06 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #33 from Yuri Rumyantsev --- With current compiler there is not performance difference for by-ref and by-val test-cases, but if we turn off if-convert transformation we will get ~2X speed-up: on Intel(R) Xeon(R) CPU X5670 @

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

2013-09-21 Thread icegood1980 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 icegood1980 at gmail dot com changed: What|Removed |Added CC||icegood1980 at gmail dot co

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

2013-02-17 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 --- Comment #27 from Uros Bizjak 2013-02-17 10:10:16 UTC --- Some additional analysis: http://gcc.gnu.org/ml/gcc/2008-02/msg00601.html

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

2013-02-17 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 Uros Bizjak changed: What|Removed |Added CC||jake.stine at gmail dot com --- C

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

2013-02-17 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56309 Uros Bizjak changed: What|Removed |Added Summary|-O3 optimizer generates |conditional moves instead