https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114560
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- AVX512BW is needed to be able to use __mmask32/__mmask64, those aren't supported in AVX512F, which only supports __mmask16. __mmask8 needs AVX512DQ (though, guess for that one one can just use KMOV with 16-bit mask). In GCC 13 and later, -mavx512bw has been added as the implicit requirement of -mavx512vbmi2 https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615906.html and -mavx512bitalg https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615905.html