Re: [FFmpeg-devel] [PATCH] lavc/rv34dsp: optimise R-V V idct_dc_add

2024-05-23 Thread Rémi Denis-Courmont
Le 23 mai 2024 06:31:52 GMT+03:00, flow gg a écrit : >Unfortunately I only test to obtain benchmarks and basic correctness. I >always feel the need for a professional to write the tests. Everybody agrees that tests should be written alongside the corresponding DSP C reference functions, but we

Re: [FFmpeg-devel] [PATCH] lavc/rv34dsp: optimise R-V V idct_dc_add

2024-05-22 Thread flow gg
Unfortunately I only test to obtain benchmarks and basic correctness. I always feel the need for a professional to write the tests. Rémi Denis-Courmont 于2024年5月23日周四 04:35写道: > > > Le 22 mai 2024 23:28:54 GMT+03:00, "Rémi Denis-Courmont" > a écrit : > >This removes one stray LI and reworks the

Re: [FFmpeg-devel] [PATCH] lavc/rv34dsp: optimise R-V V idct_dc_add

2024-05-22 Thread Rémi Denis-Courmont
Le 22 mai 2024 23:28:54 GMT+03:00, "Rémi Denis-Courmont" a écrit : >This removes one stray LI and reworks the vector arithmetic to avoid >changing the vector configuration. On K230, this takes the 46.5 cycle >count down from 46.5 to 43.5. >--- > libavcodec/riscv/rv34dsp_rvv.S | 13 ++---

[FFmpeg-devel] [PATCH] lavc/rv34dsp: optimise R-V V idct_dc_add

2024-05-22 Thread Rémi Denis-Courmont
This removes one stray LI and reworks the vector arithmetic to avoid changing the vector configuration. On K230, this takes the 46.5 cycle count down from 46.5 to 43.5. --- libavcodec/riscv/rv34dsp_rvv.S | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/libavcodec/r