Re: Re: [PATCH][RFT] Vectorization of first-order recurrences

2022-10-14 Thread juzhe.zh...@rivai.ai
LGTM. juzhe.zh...@rivai.ai From: Richard Biener Date: 2022-10-14 15:07 To: Richard Sandiford CC: Andrew Stubbs; gcc-patches; juzhe.zhong Subject: Re: [PATCH][RFT] Vectorization of first-order recurrences On Tue, 11 Oct 2022, Richard Sandiford wrote: > Richard Biener writes: > > On Mon, 10 O

Re: Re: [PATCH][RFT] Vectorization of first-order recurrences

2022-10-10 Thread 钟居哲
RVV also doesn't have a two-input permutation instructions (unlike ARM SVE has tbl instructions) and RVV needs about 4 instructions to handle this permutation, it still improve performance a lot. I think backend should handle this. Because this first-order recurrence loop vectorizer always gene