Re: [PATCH] [i386] Optimize V16HF vector insert to element 0 for AVX2.

2022-01-06 Thread Uros Bizjak via Gcc-patches
On Thu, Jan 6, 2022 at 10:22 AM liuhongt via Gcc-patches wrote: > > Also remove mode attribute blendsuf, use ssemodesuf instead. > Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. > Ready to push to trunk. > > gcc/ChangeLog: > > PR target/103753 > * config/i386/i386-expand

[PATCH] [i386] Optimize V16HF vector insert to element 0 for AVX2.

2022-01-06 Thread liuhongt via Gcc-patches
Also remove mode attribute blendsuf, use ssemodesuf instead. Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. Ready to push to trunk. gcc/ChangeLog: PR target/103753 * config/i386/i386-expand.c (ix86_expand_vector_set): Not use gen_avx2_pblendph_pblendd when elt =