[Bug target/96864] loop not vectorized due AVX512 condition handling

2022-02-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96864

Hongtao.liu  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #3 from Hongtao.liu  ---
.

[Bug target/96864] loop not vectorized due AVX512 condition handling

2022-02-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96864

--- Comment #2 from Hongtao.liu  ---
Fixed in GCC12 by r12-6756-g8bc700f4c3fbe405413db02281ef2918bfa831fc.

[Bug target/96864] loop not vectorized due AVX512 condition handling

2020-08-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96864

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Summary|loop not vectorized due to  |loop not vectorized due
   |cost model  |AVX512 condition handling
 Blocks||53947
   Keywords||missed-optimization
 Target||x86_64-*-* i?86-*-*
 Ever confirmed|0   |1
   Last reconfirmed||2020-08-31

--- Comment #1 from Richard Biener  ---
t.c:3:5: missed:   not vectorized: relevant stmt not supported: patt_25 =
() patt_24;
t.c:6:5: missed:  bad operation or unsupported loop bound.
t.c:6:5: note:  * Analysis failed with vector mode V4DF

it's more a bad pattern for condition vectorization and AVX512 it seems.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947
[Bug 53947] [meta-bug] vectorizer missed-optimizations