[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 19 10:00:00 GMT 2018


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.


More information about the Gcc-bugs mailing list