Re: [PATCH] RISC-V: Fixed failed rvv combine testcases

2023-11-07 Thread Lehua Ding
Hi Robin, On 2023/11/7 15:57, Robin Dapp wrote: Thanks, what I was slightly concerned about is that we now have the implicit assumption that the initial value is 0. I mean that's what the vectorizer does for reductions but theoretically, wouldn't we also combine other values into 0 now? Sorry

Re: [PATCH] RISC-V: Fixed failed rvv combine testcases

2023-11-06 Thread Robin Dapp
Thanks, what I was slightly concerned about is that we now have the implicit assumption that the initial value is 0. I mean that's what the vectorizer does for reductions but theoretically, wouldn't we also combine other values into 0 now? Regards Robin

Re: [PATCH] RISC-V: Fixed failed rvv combine testcases

2023-11-06 Thread Lehua Ding
il.com>; lehua.ding <mailto:lehua.d...@rivai.ai> *Subject:* [PATCH] RISC-V: Fixed failed rvv combine testcases Hi, This patch fixed the fellowing failed testcases on the trunk: FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvf

Re: [PATCH] RISC-V: Fixed failed rvv combine testcases

2023-11-06 Thread juzhe.zh...@rivai.ai
LGTM. Thanks for fixing it. juzhe.zh...@rivai.ai From: Lehua Ding Date: 2023-11-07 15:49 To: gcc-patches CC: juzhe.zhong; kito.cheng; rdapp.gcc; palmer; jeffreyalaw; lehua.ding Subject: [PATCH] RISC-V: Fixed failed rvv combine testcases Hi, This patch fixed the fellowing failed testcases on

[PATCH] RISC-V: Fixed failed rvv combine testcases

2023-11-06 Thread Lehua Ding
Hi, This patch fixed the fellowing failed testcases on the trunk: FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvfwredusum\\.vs\\tv[0-9]+,v[0-9]+,v[0-9]+,v0\\.t 2 ... FAIL: gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c scan-assembler-times \\tvwred