aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2023-09-28 20:59:53 +0300
committerRémi Denis-Courmont <remi@remlab.net>2023-10-02 18:08:23 +0300
commit69d7486e59aa831e39c4292f1b091e368448cd87 (patch)
treea5e68f48449414a9ba62af92e08f9fdc96f2b47c
parentc270928cc0d47363b932b64ecd28e2815fddcb01 (diff)
downloadffmpeg-69d7486e59aa831e39c4292f1b091e368448cd87.tar.gz
lavc/aacpsdsp: unroll RISC-V V mul_pair_single
-rw-r--r--libavcodec/riscv/aacpsdsp_rvv.S4
1 files 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