[FFmpeg-cvslog] lavc/aacpsdsp: unroll RISC-V V mul_pair_single

Rémi Denis-Courmont git at videolan.org
Mon Oct 2 20:04:40 EEST 2023


ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 28 20:59:53 2023 +0300| [69d7486e59aa831e39c4292f1b091e368448cd87] | committer: Rémi Denis-Courmont

lavc/aacpsdsp: unroll RISC-V V mul_pair_single

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=69d7486e59aa831e39c4292f1b091e368448cd87
---

 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 1a92fed515..f552d50e23 100644
--- a/libavcodec/riscv/aacpsdsp_rvv.S
+++ b/libavcodec/riscv/aacpsdsp_rvv.S
@@ -38,14 +38,14 @@ endfunc
 
 func ff_ps_mul_pair_single_rvv, zve32f
 1:
-        vsetvli     t0, a3, e32, m1, ta, ma
+        vsetvli     t0, a3, e32, m4, ta, ma
         vlseg2e32.v v24, (a1)
         sub         a3, a3, t0
         vle32.v     v16, (a2)
         sh3add      a1, t0, a1
         vfmul.vv    v24, v24, v16
         sh2add      a2, t0, a2
-        vfmul.vv    v25, v25, v16
+        vfmul.vv    v28, v28, v16
         vsseg2e32.v v24, (a0)
         sh3add      a0, t0, a0
         bnez        a3, 1b



More information about the ffmpeg-cvslog mailing list