diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2022-10-16 13:53:19 +0300 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-10-17 06:39:00 +0200 |
commit | 4d66e8c12e9540d5fa5131b89bb62bb6e90e7631 (patch) | |
tree | da2d6bdf74202fac7a5a9dcd67e8afaafdd222bd | |
parent | fd5c273f26d05738f4ec6c0c16295fc307121efa (diff) | |
download | ffmpeg-4d66e8c12e9540d5fa5131b89bb62bb6e90e7631.tar.gz |
lavc/audiodsp: fix RISC-V V scalar product (again)
The loop uses a 32-bit accumulator. The current code would only zero
the lower 16 bits thereof.
-rw-r--r-- | libavcodec/riscv/audiodsp_rvv.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/riscv/audiodsp_rvv.S b/libavcodec/riscv/audiodsp_rvv.S index 8e8bbd2058..af1e07bef9 100644 --- a/libavcodec/riscv/audiodsp_rvv.S +++ b/libavcodec/riscv/audiodsp_rvv.S @@ -21,7 +21,7 @@ #include "libavutil/riscv/asm.S" func ff_scalarproduct_int16_rvv, zve32x - vsetivli zero, 1, e16, m1, ta, ma + vsetivli zero, 1, e32, m1, ta, ma vmv.s.x v8, zero 1: vsetvli t0, a2, e16, m1, ta, ma |