https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107690
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So for aarch64 (and x86_64 with -mavx) this is vectorized on the trunk (but not in GCC 15). But not so good in a reasonible way either.
