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

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[11/12/13/14/15 regression] |[13/14/15 regression]
                   |if-to-switch prevents AVX   |if-to-switch prevents AVX
                   |vectorization               |vectorization

--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Sam James from comment #2)
> GCC 8 vectorises it: https://godbolt.org/z/Y8Pvxsh5c.

Not only does 8 vectorise it, but so does GCC 11, GCC 12. So, 9/13/14/15 are
broken.

Reply via email to