Re: Re: [PATCH] RISC-V: Support non-SLP unordered reduction

2023-07-17 Thread juzhe.zh...@rivai.ai
, loc, new_rtx, in_group); + gcc_assert (change_p); +} as you suggested. Could you take a look again? juzhe.zh...@rivai.ai From: Kito Cheng Date: 2023-07-17 15:00 To: juzhe.zhong CC: gcc-patches; kito.cheng; palmer; rdapp.gcc; jeffreyalaw Subject: Re: [PATCH] RISC-V: Support non-SLP unordered

Re: [PATCH] RISC-V: Support non-SLP unordered reduction

2023-07-17 Thread Kito Cheng via Gcc-patches
> @@ -247,6 +248,7 @@ void emit_vlmax_cmp_mu_insn (unsigned, rtx *); > void emit_vlmax_masked_mu_insn (unsigned, int, rtx *); > void emit_scalar_move_insn (unsigned, rtx *); > void emit_nonvlmax_integer_move_insn (unsigned, rtx *, rtx); > +//void emit_vlmax_reduction_insn (unsigned, rtx *);

RE: Re: [PATCH] RISC-V: Support non-SLP unordered reduction

2023-07-15 Thread Li, Pan2 via Gcc-patches
: Friday, July 14, 2023 8:51 PM To: kito.cheng Cc: gcc-patches ; kito.cheng ; palmer ; rdapp.gcc ; Jeff Law Subject: Re: Re: [PATCH] RISC-V: Support non-SLP unordered reduction So to be safe, I think it should be backport to GCC 13 even though I didn't have a intrinsic testcase to reproduce

Re: Re: [PATCH] RISC-V: Support non-SLP unordered reduction

2023-07-14 Thread 钟居哲
So to be safe, I think it should be backport to GCC 13 even though I didn't have a intrinsic testcase to reproduce it. juzhe.zh...@rivai.ai From: Kito Cheng Date: 2023-07-14 20:38 To: 钟居哲 CC: GCC Patches; Kito Cheng; Palmer Dabbelt; Robin Dapp; Jeff Law Subject: Re: [PATCH] RISC-V: Support

Re: Re: [PATCH] RISC-V: Support non-SLP unordered reduction

2023-07-14 Thread 钟居哲
reproduced by reduction auto-vectorization. juzhe.zh...@rivai.ai From: Kito Cheng Date: 2023-07-14 20:38 To: 钟居哲 CC: GCC Patches; Kito Cheng; Palmer Dabbelt; Robin Dapp; Jeff Law Subject: Re: [PATCH] RISC-V: Support non-SLP unordered reduction 於 2023年7月14日 週五 20:31 寫道: From: Ju-Zhe Zhong

Re: [PATCH] RISC-V: Support non-SLP unordered reduction

2023-07-14 Thread Kito Cheng via Gcc-patches
於 2023年7月14日 週五 20:31 寫道: > From: Ju-Zhe Zhong > > This patch add reduc_*_scal to support reduction auto-vectorization. > > Use COND_LEN_* + reduc_*_scal to support unordered non-SLP > auto-vectorization. > > Consider this following case: > int __attribute__((noipa)) > and_loop (int32_t *