Re: [PATCH] vect: Tweak comparisons with existing epilogue loops

2021-08-04 Thread Richard Biener via Gcc-patches
On Tue, Aug 3, 2021 at 3:52 PM Richard Sandiford via Gcc-patches wrote: > > This patch uses a more accurate scalar iteration estimate when > comparing the epilogue of a constant-iteration loop with a candidate > replacement epilogue. > > In the testcase, the patch prevents a 1-to-3-element SVE

[PATCH] vect: Tweak comparisons with existing epilogue loops

2021-08-03 Thread Richard Sandiford via Gcc-patches
This patch uses a more accurate scalar iteration estimate when comparing the epilogue of a constant-iteration loop with a candidate replacement epilogue. In the testcase, the patch prevents a 1-to-3-element SVE epilogue from seeming better than a 64-bit Advanced SIMD epilogue. Tested on