Re: [PATCH V3] RISC-V: Support gather_load/scatter RVV auto-vectorization

2023-07-07 Thread Robin Dapp via Gcc-patches
Hi Juzhe, thanks, that's quite a chunk :) and it took me a while to go through it. > @@ -564,7 +565,14 @@ const_vec_all_in_range_p (rtx vec, poly_int64 minval, > poly_int64 maxval) > static rtx > gen_const_vector_dup (machine_mode mode, poly_int64 val) > { > - rtx c = gen_int_mode (val, GET_

Re: Re: [PATCH V3] RISC-V: Support gather_load/scatter RVV auto-vectorization

2023-07-07 Thread juzhe.zh...@rivai.ai
ly, that the >>const_poly value is in range etc. Ok. >>Maybe add a single-line comment as for the other existing cases. oK. juzhe.zh...@rivai.ai From: Robin Dapp Date: 2023-07-07 17:43 To: Juzhe-Zhong; gcc-patches CC: rdapp.gcc; kito.cheng; kito.cheng; palmer; palmer; jeffreyalaw S

Re: Re: [PATCH V3] RISC-V: Support gather_load/scatter RVV auto-vectorization

2023-07-07 Thread juzhe.zh...@rivai.ai
zhe.zh...@rivai.ai From: juzhe.zh...@rivai.ai Date: 2023-07-07 18:07 To: Robin Dapp; gcc-patches CC: Robin Dapp; kito.cheng; Kito.cheng; palmer; palmer; jeffreyalaw Subject: Re: Re: [PATCH V3] RISC-V: Support gather_load/scatter RVV auto-vectorization >> It's a bit weird that the function

Re: Re: [PATCH V3] RISC-V: Support gather_load/scatter RVV auto-vectorization

2023-07-07 Thread juzhe.zh...@rivai.ai
.@rivai.ai From: Robin Dapp Date: 2023-07-07 17:43 To: Juzhe-Zhong; gcc-patches CC: rdapp.gcc; kito.cheng; kito.cheng; palmer; palmer; jeffreyalaw Subject: Re: [PATCH V3] RISC-V: Support gather_load/scatter RVV auto-vectorization Hi Juzhe, thanks, that's quite a chunk :) and it took m