lavc/aacpsdsp: unroll RISC-V V mul_pair_single

pull/390/head
Rémi Denis-Courmont 1 year ago
parent c270928cc0
commit 69d7486e59
  1. 4
      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

Loading…
Cancel
Save