https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94343
--- Comment #11 from jbeulich at suse dot com --- (In reply to Jakub Jelinek from comment #7) > Though, there are other issues. There is only vpternlog{d,q}, so for > V*[QH]Imode we shouldn't pretend we have masking support. Why would this be? The element mode doesn't matter at all for bitwise operations. Just like there's no VPANDB / VPANDW, but VPANDD/VPANDQ are quite fine to use on vectors of QI or HI. Afaict the existence of VPAND{D,Q} in AVX512 (as opposed to {,V}PAND in MMX/SSE2/AVX) is merely an oddity resulting from EVEX.W handling (besides of course the element width's effect on embedded broadcasting).