Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-22 Thread Arnie Chang
On Sat, May 20, 2023 at 1:12 AM Rémi Denis-Courmont wrote: > > +lit4, 0 > > +lit2, 0 > > +addia5, t3, 1 > > +sllit3, a2, 2 > > +.LBB0_3:# if (xy != 0) > > +adda4, a1, t4 > > +vsetvlizero, a5, e8, m1, ta, ma > > +

Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-20 Thread Rémi Denis-Courmont
Le keskiviikkona 17. toukokuuta 2023, 17.54.22 EEST Lynne a écrit : > Finally, run: > make checkasm && ./tests/checkasm/checkasm --bench > and report on the timings for both the C and assembly versions. > If you've made a mistake somewhere, (forgot to restore stack, or a > callee-saved register,

Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-20 Thread Rémi Denis-Courmont
Le perjantaina 19. toukokuuta 2023, 21.52.57 EEST Lynne a écrit : > May 19, 2023, 19:16 by r...@remlab.net: > > Le keskiviikkona 17. toukokuuta 2023, 17.54.22 EEST Lynne a écrit : > >> Finally, run: > >> make checkasm && ./tests/checkasm/checkasm --bench > >> and report on the timings for both the

Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-19 Thread Lynne
May 19, 2023, 19:16 by r...@remlab.net: > Le keskiviikkona 17. toukokuuta 2023, 17.54.22 EEST Lynne a écrit : > >> Finally, run: >> make checkasm && ./tests/checkasm/checkasm --bench >> and report on the timings for both the C and assembly versions. >> If you've made a mistake somewhere, (forgot

Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-19 Thread Rémi Denis-Courmont
Le keskiviikkona 17. toukokuuta 2023, 17.54.22 EEST Lynne a écrit : > Finally, run: > make checkasm && ./tests/checkasm/checkasm --bench > and report on the timings for both the C and assembly versions. > If you've made a mistake somewhere, (forgot to restore stack, or a > callee-saved register,

Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-19 Thread Rémi Denis-Courmont
Le keskiviikkona 17. toukokuuta 2023, 10.13.01 EEST Arnie Chang a écrit : > Optimize the put and avg filtering for 8x8 chroma blocks > > Signed-off-by: Arnie Chang > --- > libavcodec/h264chroma.c | 2 + > libavcodec/h264chroma.h | 1 + >

Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-18 Thread Lynne
May 18, 2023, 10:21 by arnie.ch...@sifive.com: > On Wed, May 17, 2023 at 10:54 PM Lynne wrote: > >> >> Finally, run: >> make checkasm && ./tests/checkasm/checkasm --bench >> and report on the timings for both the C and assembly versions. >> If you've made a mistake somewhere, (forgot to restore

Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-18 Thread Ronald S. Bultje
Hi, On Thu, May 18, 2023 at 4:21 AM Arnie Chang wrote: > On Wed, May 17, 2023 at 10:54 PM Lynne wrote: > > > > > Finally, run: > > make checkasm && ./tests/checkasm/checkasm --bench > > and report on the timings for both the C and assembly versions. > > If you've made a mistake somewhere,

Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-18 Thread Arnie Chang
On Wed, May 17, 2023 at 10:54 PM Lynne wrote: > > Finally, run: > make checkasm && ./tests/checkasm/checkasm --bench > and report on the timings for both the C and assembly versions. > If you've made a mistake somewhere, (forgot to restore stack, or a > callee-saved register, > or your function

Re: [FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-17 Thread Lynne
May 17, 2023, 09:13 by arnie.ch...@sifive.com: > Optimize the put and avg filtering for 8x8 chroma blocks > > Signed-off-by: Arnie Chang > --- > libavcodec/h264chroma.c | 2 + > libavcodec/h264chroma.h | 1 + > libavcodec/riscv/Makefile | 3

[FFmpeg-devel] [PATCH] lavc/h264chroma: RISC-V V add motion compensation for 8x8 chroma blocks

2023-05-17 Thread Arnie Chang
Optimize the put and avg filtering for 8x8 chroma blocks Signed-off-by: Arnie Chang --- libavcodec/h264chroma.c | 2 + libavcodec/h264chroma.h | 1 + libavcodec/riscv/Makefile | 3 + libavcodec/riscv/h264_chroma_init_riscv.c | 39 ++