Re: [PATCH] tree-optimization/103641 - improve vect_synth_mult_by_constant

2022-02-04 Thread Richard Biener via Gcc-patches
On Fri, 4 Feb 2022, Richard Sandiford wrote: > Richard Biener writes: > > The following happens to improve compile-time of the PR103641 > > testcase on aarch64 significantly. I did not investigate the > > effect on the generated code but at least in theory > > choose_mult_variant should do a bet

Re: [PATCH] tree-optimization/103641 - improve vect_synth_mult_by_constant

2022-02-04 Thread Jakub Jelinek via Gcc-patches
On Fri, Feb 04, 2022 at 09:31:20AM +0100, Richard Biener wrote: > The following happens to improve compile-time of the PR103641 > testcase on aarch64 significantly. I did not investigate the > effect on the generated code but at least in theory > choose_mult_variant should do a better job when we

Re: [PATCH] tree-optimization/103641 - improve vect_synth_mult_by_constant

2022-02-04 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > The following happens to improve compile-time of the PR103641 > testcase on aarch64 significantly. I did not investigate the > effect on the generated code but at least in theory > choose_mult_variant should do a better job when we tell it > the actual mode we are going t

[PATCH] tree-optimization/103641 - improve vect_synth_mult_by_constant

2022-02-04 Thread Richard Biener via Gcc-patches
The following happens to improve compile-time of the PR103641 testcase on aarch64 significantly. I did not investigate the effect on the generated code but at least in theory choose_mult_variant should do a better job when we tell it the actual mode we are going to use for the operations it synthe