lavc/aacpsdsp: unroll RISC-V V mul_pair_single

This commit is contained in:
Rémi Denis-Courmont 2023-09-28 20:59:53 +03:00
parent c270928cc0
commit 69d7486e59

View File

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