Re: [PATCH] i386: Don't use AVX512F integral masks for V*TImode [PR94438]

2020-04-08 Thread Jeff Law via Gcc-patches
On Fri, 2020-04-03 at 00:26 +0200, Jakub Jelinek wrote: > Hi! > > The ix86_get_mask_mode hook uses int mask for 512-bit vectors or 128/256-bit > vectors with AVX512VL (that is correct), and only for V*[SD][IF]mode if not > AVX512BW (also correct), but with AVX512BW it would stop checking the > ele

[PATCH] i386: Don't use AVX512F integral masks for V*TImode [PR94438]

2020-04-02 Thread Jakub Jelinek via Gcc-patches
Hi! The ix86_get_mask_mode hook uses int mask for 512-bit vectors or 128/256-bit vectors with AVX512VL (that is correct), and only for V*[SD][IF]mode if not AVX512BW (also correct), but with AVX512BW it would stop checking the elem_size altogether and pretend the hw has masking support for V*TImod