[FFmpeg-devel] [PATCH 5/5] lavc/aacpsdsp: unroll RISC-V V hybrid_synthesis_deint

Rémi Denis-Courmont remi at remlab.net
Fri Sep 29 19:26:05 EEST 2023


---
 libavcodec/riscv/aacpsdsp_rvv.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/riscv/aacpsdsp_rvv.S b/libavcodec/riscv/aacpsdsp_rvv.S
index 007002de70..fe250cd83b 100644
--- a/libavcodec/riscv/aacpsdsp_rvv.S
+++ b/libavcodec/riscv/aacpsdsp_rvv.S
@@ -203,12 +203,12 @@ func ff_ps_hybrid_synthesis_deint_rvv, zve32x
         mv          t4, a4
         addi        a2, a2, 1
 2:
-        vsetvli     t5, t3, e32, m1, ta, ma
+        vsetvli     t5, t3, e32, m4, ta, ma
         vlseg2e32.v v16, (t1)
         sub         t3, t3, t5
         vsse32.v    v16, (t0), t6
         mul         t2, t5, t6
-        vsse32.v    v17, (t4), t6
+        vsse32.v    v20, (t4), t6
         sh3add      t1, t5, t1
         add         t0, t0, t2
         add         t4, t4, t2
-- 
2.40.1



More information about the ffmpeg-devel mailing list