https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126771

Hongtao Liu <liuhongt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liuhongt at gcc dot gnu.org

--- Comment #4 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> Oh, this is also a x86 target issue as we miss vcond_mask_v2siqi for
> MMX-with-SSE.  We have vcond_mask_v2siv2si and vcond_mask_v2diqi but I'll
> note the
> vectorizer isn't able to switch between AVX512 and SSE style masking at will.
> We also miss vec_cmpv2sfqi, in practice this degrades MMX-with-SSE
> vectorization
> once AVX512VL is enabled.
> 


ix86_get_mask_mode always return vector mask for v2sf/v2si mask, so i thought
vcond_mask_v2sfqi/vec_cmpv2sfqi are not needed.

There could be mixed mask for different vector size/type from
ix86_get_mask_mode, .i.e Under avx512vl + avx512bw, v4si get kmask, but vector
mask for v2si, would that be a problem for the vectorizer?

Reply via email to