RE: [PATCH v1 0/3] Refine the avg_ceil with fixed point vaadd

2025-05-30 Thread Li, Pan2
kito.ch...@gmail.com; jeffreya...@gmail.com; Chen, Ken ; Liu, Hongtao ; Robin Dapp Subject: Re: [PATCH v1 0/3] Refine the avg_ceil with fixed point vaadd > Looks like the CI cannot tell patch series? There are 3 patches and the CI > will run for each one. > Of course, the first one

Re: [PATCH v1 0/3] Refine the avg_ceil with fixed point vaadd

2025-05-30 Thread Robin Dapp
Looks like the CI cannot tell patch series? There are 3 patches and the CI will run for each one. Of course, the first one will have scan failure due to expanding change, but the second one reconciles them. Finally the third one will have all test passed as below, I think it indicates all test

RE: [PATCH v1 0/3] Refine the avg_ceil with fixed point vaadd

2025-05-30 Thread Li, Pan2
Pan -Original Message- From: Li, Pan2 Sent: Friday, May 30, 2025 9:11 PM To: Robin Dapp ; gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@gmail.com; jeffreya...@gmail.com; Chen, Ken ; Liu, Hongtao Subject: RE: [PATCH v1 0/3] Refine the avg_ceil with fixed point vaadd > The CI s

RE: [PATCH v1 0/3] Refine the avg_ceil with fixed point vaadd

2025-05-30 Thread Li, Pan2
From: Robin Dapp Sent: Friday, May 30, 2025 3:42 PM To: Li, Pan2 ; gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@gmail.com; jeffreya...@gmail.com; rdapp@gmail.com; Chen, Ken ; Liu, Hongtao ; Robin Dapp Subject: Re: [PATCH v1 0/3] Refine the avg_ceil with fixed point vaadd

Re: [PATCH v1 0/3] Refine the avg_ceil with fixed point vaadd

2025-05-30 Thread Robin Dapp
Similar to the avg_floor, the avg_ceil has the rounding mode towards +inf, while the vaadd.vv has the rnu which totally match the sematics. From RVV spec, the fixed vaadd.vv with rnu, The CI shows some scan failures in vls/avg-[456].c and widen/vec-avg-rv32gcv.c. Also, the lint check complains

[PATCH v1 0/3] Refine the avg_ceil with fixed point vaadd

2025-05-29 Thread pan2 . li
From: Pan Li Similar to the avg_floor, the avg_ceil has the rounding mode towards +inf, while the vaadd.vv has the rnu which totally match the sematics. From RVV spec, the fixed vaadd.vv with rnu, roundoff_signed(v, d) = (signed(v) >> d) + r r = v[d - 1] For vaadd, d = 1, then we have roundof