Re: [PATCH] i386: Fix vpblendm{b,w} intrins and insns

2023-04-18 Thread Hongtao Liu via Gcc-patches
On Tue, Apr 18, 2023 at 3:15 PM Haochen Jiang via Gcc-patches wrote: > > Hi all, > > For vpblendm{b,w}, they actually do not have constant parameters. > Therefore, there is no need for them been wrapped in __OPTIMIZE__. > > Also, we should check TARGET_AVX512VL for 128/256 bit vectors in patterns.

[PATCH] i386: Fix vpblendm{b,w} intrins and insns

2023-04-18 Thread Haochen Jiang via Gcc-patches
Hi all, For vpblendm{b,w}, they actually do not have constant parameters. Therefore, there is no need for them been wrapped in __OPTIMIZE__. Also, we should check TARGET_AVX512VL for 128/256 bit vectors in patterns. This patch did the fixes mentioned above. Tested on x86_64-pc-linux-gnu. Ok for