https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98254
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- We now enable the vectorizer at -O2. I see with " -O3 -g0 -mavx512f" qux is not optimized to just: vpmovsxwd ymm0, xmmword ptr [rdi] Like it is with LLVM.