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
>>
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
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
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
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
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