https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464
--- Comment #23 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Uroš Bizjak from comment #22) > (In reply to Uroš Bizjak from comment #21) > > Indeed, -mavx512dq produces expected ktestb. Sorry for the false alarm. > > f3 and f4 functions however can use ktestw even without -mavx512dq. Eh, not my day. We can use kortestw to check if operand is zero with -mavx512f.