Re: [PATCH 1/2] Add emulated gather capability to the vectorizer

2021-08-05 Thread Richard Biener via Gcc-patches
On Thu, Aug 5, 2021 at 3:26 PM Christophe Lyon via Gcc-patches wrote: > > On Thu, Aug 5, 2021 at 11:53 AM Richard Biener wrote: > > > On Thu, 5 Aug 2021, Christophe Lyon wrote: > > > > > On Wed, Aug 4, 2021 at 2:08 PM Richard Biener wrote: > > > > > > > On Wed, 4 Aug 2021, Richard Sandiford wrot

Re: [PATCH 1/2] Add emulated gather capability to the vectorizer

2021-08-05 Thread Christophe Lyon via Gcc-patches
On Thu, Aug 5, 2021 at 11:53 AM Richard Biener wrote: > On Thu, 5 Aug 2021, Christophe Lyon wrote: > > > On Wed, Aug 4, 2021 at 2:08 PM Richard Biener wrote: > > > > > On Wed, 4 Aug 2021, Richard Sandiford wrote: > > > > > > > Richard Biener writes: > > > > > This adds a gather vectorization ca

Re: [PATCH 1/2] Add emulated gather capability to the vectorizer

2021-08-05 Thread Richard Biener
On Thu, 5 Aug 2021, Christophe Lyon wrote: > On Wed, Aug 4, 2021 at 2:08 PM Richard Biener wrote: > > > On Wed, 4 Aug 2021, Richard Sandiford wrote: > > > > > Richard Biener writes: > > > > This adds a gather vectorization capability to the vectorizer > > > > without target support by decomposi

Re: [PATCH 1/2] Add emulated gather capability to the vectorizer

2021-08-05 Thread Christophe Lyon via Gcc-patches
On Wed, Aug 4, 2021 at 2:08 PM Richard Biener wrote: > On Wed, 4 Aug 2021, Richard Sandiford wrote: > > > Richard Biener writes: > > > This adds a gather vectorization capability to the vectorizer > > > without target support by decomposing the offset vector, doing > > > sclar loads and then bui

Re: [PATCH 1/2] Add emulated gather capability to the vectorizer

2021-08-04 Thread Richard Biener
On Wed, 4 Aug 2021, Richard Sandiford wrote: > Richard Biener writes: > > This adds a gather vectorization capability to the vectorizer > > without target support by decomposing the offset vector, doing > > sclar loads and then building a vector from the result. This > > is aimed mainly at cases

Re: [PATCH 1/2] Add emulated gather capability to the vectorizer

2021-08-04 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > This adds a gather vectorization capability to the vectorizer > without target support by decomposing the offset vector, doing > sclar loads and then building a vector from the result. This > is aimed mainly at cases where vectorizing the rest of the loop > offsets the co

[PATCH 1/2] Add emulated gather capability to the vectorizer

2021-08-02 Thread Richard Biener
This adds a gather vectorization capability to the vectorizer without target support by decomposing the offset vector, doing sclar loads and then building a vector from the result. This is aimed mainly at cases where vectorizing the rest of the loop offsets the cost of vectorizing the gather. Not