https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86557
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |53947 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- But even with that we seem to need AVX512F to vectorize it, with AVX2 we get t.C:5:31: note: not vectorized: relevant stmt not supported: patt_45 = patt_44 >> 2; thus, somehow V2DI arithmetic right shifts are not available. Indeed it looks like we only have named patterns for V4SI arithmetic right shifts for AVX2. I'm going to bootstrap / test the vectorizer fix. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations