RE: [PATCH] RISC-V: Enable select_vl for RVV auto-vectorization

2023-06-09 Thread Li, Pan2 via Gcc-patches
Subject: Re: [PATCH] RISC-V: Enable select_vl for RVV auto-vectorization LGTM, thanks for this On Sat, Jun 10, 2023 at 8:42 AM wrote: > > From: Juzhe-Zhong > > Consider this following example: > void vec_add(int32_t *restrict c, int32_t *restrict a, int32_t *restrict b, >

Re: [PATCH] RISC-V: Enable select_vl for RVV auto-vectorization

2023-06-09 Thread Kito Cheng via Gcc-patches
LGTM, thanks for this On Sat, Jun 10, 2023 at 8:42 AM wrote: > > From: Juzhe-Zhong > > Consider this following example: > void vec_add(int32_t *restrict c, int32_t *restrict a, int32_t *restrict b, > int N) { > for (long i = 0; i < N; i++) { > c[i] = a[i] + b[i]; > } > }

Re: [PATCH] RISC-V: Enable SELECT_VL for RVV

2023-06-06 Thread 钟居哲
Oh。 Sorry my mistake. Forget about this patch since SELECT_VL is not merged into middle-end yet. juzhe.zh...@rivai.ai From: juzhe.zhong Date: 2023-06-06 19:46 To: gcc-patches CC: kito.cheng; palmer; rdapp.gcc; jeffreyalaw; Juzhe-Zhong Subject: [PATCH] RISC-V: Enable SELECT_VL for RVV From: Ju