https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464
--- Comment #27 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Jakub Jelinek from comment #25) > Isn't ktestw and kortestw the same thing when both operands are the same > mask register? True, but kortestw is available with AVX512F, where ktestw is not. (In reply to Jakub Jelinek from comment #26) > And the TARGET_AVX512F && looks incorrect, then we wouldn't be able to test > or cmp without -mavx512f. No, we fall to *cmp<mode>_ccno_1, which is compatible with CCZmode.