[PATCH v5 1/2] x86: Convert CONST_WIDE_INT/CONST_VECTOR to broadcast

2021-06-26 Thread H.J. Lu via Gcc-patches
1. Update move expanders to convert the CONST_WIDE_INT and CONST_VECTO operands to vector broadcast from an integer with AVX2. 2. Add ix86_gen_scratch_sse_rtx to return a scratch SSE register which won't increase stack alignment requirement and blocks transformation by the combine pass. A small be

[PATCH v5 2/2] x86: Add vec_duplicate expander

2021-06-26 Thread H.J. Lu via Gcc-patches
1. Update vec_duplicate to allow to fail so that backend can only allow broadcasting an integer constant to a vector when broadcast instruction is available. This can be used by memset expander to avoid vec_duplicate when loading from constant pool is more efficient. 2. Add vec_duplicate expander

[PATCH v5 0/2] x86: Convert CONST_WIDE_INT/CONST_VECTOR to broadcast

2021-06-26 Thread H.J. Lu via Gcc-patches
Changes in the v5 patch: 1. Allow AVX with SI/DI broadcast. 2. Add a comment for broadcasting to V64QI and V32HI with AVX512F, but without AVX512BW. --- 1. Update move expanders to convert the CONST_WIDE_INT and CONST_VECTO operands to vector broadcast from an integer with AVX2. 2. Add ix86_gen_s

Re: PING^1 [PATCH v4 0/2] x86: Convert CONST_WIDE_INT/CONST_VECTOR to broadcast

2021-06-26 Thread H.J. Lu via Gcc-patches
On Sat, Jun 26, 2021 at 6:44 AM H.J. Lu wrote: > > On Thu, Jun 24, 2021 at 11:04 PM Hongtao Liu wrote: > > > > On Fri, Jun 25, 2021 at 2:01 PM Hongtao Liu wrote: > > > > > > I didn't receive > > > https://gcc.gnu.org/pipermail/gcc-patches/2021-June/572436.html in my > > > gmail account, does any

Re: [PATCH] Generalize -fuse-ld= to support absolute path or arbitrary ld.linker

2021-06-26 Thread Artur Sinila via Gcc-patches
Not so gentle ping :) What should happen in order for this patch to be accepted? signature.asc Description: This is a digitally signed message part

Re: PING^1 [PATCH v4 0/2] x86: Convert CONST_WIDE_INT/CONST_VECTOR to broadcast

2021-06-26 Thread H.J. Lu via Gcc-patches
On Thu, Jun 24, 2021 at 11:04 PM Hongtao Liu wrote: > > On Fri, Jun 25, 2021 at 2:01 PM Hongtao Liu wrote: > > > > I didn't receive > > https://gcc.gnu.org/pipermail/gcc-patches/2021-June/572436.html in my > > gmail account, does anyone know why? > > > > > > >--- a/gcc/config/i386/i386-protos.h >