[PATCH]AArch64 RFC: Don't cost all scalar operations during vectorization if scalar will fuse

2021-08-31 Thread Tamar Christina via Gcc-patches
Hi All, As the vectorizer has improved over time in capabilities it has started over-vectorizing. This has causes regressions in the order of 1-7x on libraries that Arm produces. The vector costs actually do make a lot of sense and I don't think that they are wrong. I think that the costs for t

Re: [PATCH]AArch64 RFC: Don't cost all scalar operations during vectorization if scalar will fuse

2021-08-31 Thread Richard Sandiford via Gcc-patches
Tamar Christina writes: > Hi All, > > As the vectorizer has improved over time in capabilities it has started > over-vectorizing. This has causes regressions in the order of 1-7x on > libraries > that Arm produces. > > The vector costs actually do make a lot of sense and I don't think that they

Re: [PATCH]AArch64 RFC: Don't cost all scalar operations during vectorization if scalar will fuse

2021-09-01 Thread Richard Biener via Gcc-patches
On Tue, Aug 31, 2021 at 4:50 PM Richard Sandiford via Gcc-patches wrote: > > Tamar Christina writes: > > Hi All, > > > > As the vectorizer has improved over time in capabilities it has started > > over-vectorizing. This has causes regressions in the order of 1-7x on > > libraries > > that Arm p

Re: [PATCH]AArch64 RFC: Don't cost all scalar operations during vectorization if scalar will fuse

2021-09-02 Thread Richard Biener via Gcc-patches
On Wed, Sep 1, 2021 at 3:47 PM Richard Biener wrote: > > On Tue, Aug 31, 2021 at 4:50 PM Richard Sandiford via Gcc-patches > wrote: > > > > Tamar Christina writes: > > > Hi All, > > > > > > As the vectorizer has improved over time in capabilities it has started > > > over-vectorizing. This has