Re: [PATCH] Add emulated scatter capability to the vectorizer

2023-05-05 Thread Christophe Lyon via Gcc-patches
On Wed, 3 May 2023 at 08:44, Richard Biener wrote: > On Tue, 2 May 2023, Christophe Lyon wrote: > > > Hi Richard, > > > > On Fri, 28 Apr 2023 at 14:41, Richard Biener via Gcc-patches < > > gcc-patches@gcc.gnu.org> wrote: > > > > > This adds a scatter vectorization capability to the vectorizer > >

Re: [PATCH] Add emulated scatter capability to the vectorizer

2023-05-02 Thread Richard Biener via Gcc-patches
On Tue, 2 May 2023, Christophe Lyon wrote: > Hi Richard, > > On Fri, 28 Apr 2023 at 14:41, Richard Biener via Gcc-patches < > gcc-patches@gcc.gnu.org> wrote: > > > This adds a scatter vectorization capability to the vectorizer > > without target support by decomposing the offset and data vectors

Re: [PATCH] Add emulated scatter capability to the vectorizer

2023-05-02 Thread Christophe Lyon via Gcc-patches
Hi Richard, On Fri, 28 Apr 2023 at 14:41, Richard Biener via Gcc-patches < gcc-patches@gcc.gnu.org> wrote: > This adds a scatter vectorization capability to the vectorizer > without target support by decomposing the offset and data vectors > and then performing scalar stores in the order of vecto

[PATCH] Add emulated scatter capability to the vectorizer

2023-04-28 Thread Richard Biener via Gcc-patches
This adds a scatter vectorization capability to the vectorizer without target support by decomposing the offset and data vectors and then performing scalar stores in the order of vector lanes. This is aimed at cases where vectorizing the rest of the loop offsets the cost of vectorizing the scatter.