[PATCH] tree-optimization/108724 - vectorized code getting piecewise expanded

2023-02-10 Thread Richard Biener via Gcc-patches
This fixes an oversight to when removing the hard limits on using generic vectors for the vectorizer to enable both SLP and BB vectorization to use those. The vectorizer relies on vector lowering to expand plus, minus and negate to bit operations but vector lowering has a hard limit on the minimum

Re: [PATCH] tree-optimization/108724 - vectorized code getting piecewise expanded

2023-02-10 Thread Richard Sandiford via Gcc-patches
Richard Biener via Gcc-patches writes: > This fixes an oversight to when removing the hard limits on using > generic vectors for the vectorizer to enable both SLP and BB > vectorization to use those. The vectorizer relies on vector lowering > to expand plus, minus and negate to bit operations but

Re: [PATCH] tree-optimization/108724 - vectorized code getting piecewise expanded

2023-02-10 Thread Richard Biener via Gcc-patches
On Fri, 10 Feb 2023, Richard Sandiford wrote: > Richard Biener via Gcc-patches writes: > > This fixes an oversight to when removing the hard limits on using > > generic vectors for the vectorizer to enable both SLP and BB > > vectorization to use those. The vectorizer relies on vector lowering >

Re: [PATCH] tree-optimization/108724 - vectorized code getting piecewise expanded

2023-02-13 Thread Jeff Law via Gcc-patches
On 2/10/23 04:02, Richard Biener via Gcc-patches wrote: This fixes an oversight to when removing the hard limits on using generic vectors for the vectorizer to enable both SLP and BB vectorization to use those. The vectorizer relies on vector lowering to expand plus, minus and negate to bit o

Re: [PATCH] tree-optimization/108724 - vectorized code getting piecewise expanded

2023-02-13 Thread Richard Biener via Gcc-patches
On Mon, 13 Feb 2023, Jeff Law wrote: > > > On 2/10/23 04:02, Richard Biener via Gcc-patches wrote: > > This fixes an oversight to when removing the hard limits on using > > generic vectors for the vectorizer to enable both SLP and BB > > vectorization to use those. The vectorizer relies on vect

Re: [PATCH] tree-optimization/108724 - vectorized code getting piecewise expanded

2023-02-13 Thread Jeff Law via Gcc-patches
On 2/13/23 07:51, Richard Biener wrote: On Mon, 13 Feb 2023, Jeff Law wrote: On 2/10/23 04:02, Richard Biener via Gcc-patches wrote: This fixes an oversight to when removing the hard limits on using generic vectors for the vectorizer to enable both SLP and BB vectorization to use those.