Re: [FFmpeg-devel] [PATCH v2 1/6] Update R-V V vvc_mc vset to support more lengths

2024-12-15 Thread Nuo Mi
On Sat, Dec 14, 2024 at 10:43 AM Nuo Mi wrote: > > > On Tue, Dec 10, 2024 at 10:37 PM flow gg wrote: > >> Thank you, this approach can indeed address similar if else scenarios. >> >> vsetvlstatic \w, \vlen, e8, mf8, mf4, mf2, m1, m2, m4 >> vsetvlstatic \w, \vlen, e16, mf4, mf2, m1, m2, m4, m8 >>

Re: [FFmpeg-devel] [PATCH v2 1/6] Update R-V V vvc_mc vset to support more lengths

2024-12-13 Thread Nuo Mi
On Tue, Dec 10, 2024 at 10:37 PM flow gg wrote: > Thank you, this approach can indeed address similar if else scenarios. > > vsetvlstatic \w, \vlen, e8, mf8, mf4, mf2, m1, m2, m4 > vsetvlstatic \w, \vlen, e16, mf4, mf2, m1, m2, m4, m8 > vsetvlstatic \w, \vlen, e32, mf2, m1, m2, m4, m8, m8 > > I p

Re: [FFmpeg-devel] [PATCH v2 1/6] Update R-V V vvc_mc vset to support more lengths

2024-12-10 Thread flow gg
Thank you, this approach can indeed address similar if else scenarios. vsetvlstatic \w, \vlen, e8, mf8, mf4, mf2, m1, m2, m4 vsetvlstatic \w, \vlen, e16, mf4, mf2, m1, m2, m4, m8 vsetvlstatic \w, \vlen, e32, mf2, m1, m2, m4, m8, m8 I plan to submit it after this patch set gets merged. Nuo Mi 于2

Re: [FFmpeg-devel] [PATCH v2 1/6] Update R-V V vvc_mc vset to support more lengths

2024-12-10 Thread Nuo Mi
Hi Yuechi, The performance is good. There are many similar .if blocks in vsetvlstatic8, vsetvlstatic16, and vsetvlstatic32. Could we define an intermediate macro, vsetvlstatic, and use it to implement the above macros? like: .macro vsetvlstatic8 w, vlen vsetvlstatic 8, w, vlen, mf8, m

Re: [FFmpeg-devel] [PATCH v2 1/6] Update R-V V vvc_mc vset to support more lengths

2024-12-08 Thread flow gg
ping 于2024年12月1日周日 13:11写道: > From: sunyuechi > > --- > libavcodec/riscv/vvc/vvc_mc_rvv.S | 46 +++ > 1 file changed, 23 insertions(+), 23 deletions(-) > > diff --git a/libavcodec/riscv/vvc/vvc_mc_rvv.S > b/libavcodec/riscv/vvc/vvc_mc_rvv.S > index 45f4750f82..18532

[FFmpeg-devel] [PATCH v2 1/6] Update R-V V vvc_mc vset to support more lengths

2024-11-30 Thread uk7b-at-foxmail . com
From: sunyuechi --- libavcodec/riscv/vvc/vvc_mc_rvv.S | 46 +++ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/libavcodec/riscv/vvc/vvc_mc_rvv.S b/libavcodec/riscv/vvc/vvc_mc_rvv.S index 45f4750f82..18532616d9 100644 --- a/libavcodec/riscv/vvc/vvc_mc