[Bug target/63599] "wrong" branch optimization with Ofast in a loop

2024-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63599 Andrew Pinski changed: What|Removed |Added Known to fail||5.1.0, 6.1.0

[Bug target/63599] wrong branch optimization with Ofast in a loop

2014-10-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63599 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- The tree level looks like this: t_13 = VEC_COND_EXPR t_4 = { 4.142135679721832275390625e-1, 4.142135679721832275390625e-1, 4.142135679721832275390625e-1,

[Bug target/63599] wrong branch optimization with Ofast in a loop

2014-10-20 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63599 --- Comment #2 from vincenzo Innocente vincenzo.innocente at cern dot ch --- I agree that the code produces correct results. It looks to me sub-optimal. I understand that with Ofast the sequence below will be always executed andps%xmm5,

[Bug target/63599] wrong branch optimization with Ofast in a loop

2014-10-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63599 --- Comment #3 from Marc Glisse glisse at gcc dot gnu.org --- ifcvt making a transformation that doesn't help vectorization and ends up pessimizing the code... not really the first time this happens. I believe Jakub had a big patch for that, but

[Bug target/63599] wrong branch optimization with Ofast in a loop

2014-10-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63599 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot