https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66369
--- Comment #3 from Marcus Kool <marcus.kool at urlfilterdb dot com> --- > The intrinsic returns "int", and from the above tree dump, the compiler > won't even consider to combine the sign-extension with vpmovmskb. That is the core of the issue: the part of gcc that deals with intrinsics does not consider to use the 64bit version of the vpmovmskb instruction. BTW: how is gcc behaving on a system with AVX512 ?