[FFmpeg-devel] [PATCH] lavc/fmtconvert: unroll R-V V int32_to_float_fmul_scalar

Rémi Denis-Courmont remi at remlab.net
Fri Sep 29 19:52:44 EEST 2023


---
 libavcodec/riscv/fmtconvert_rvv.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/riscv/fmtconvert_rvv.S b/libavcodec/riscv/fmtconvert_rvv.S
index 51365753d9..d0e2f106d5 100644
--- a/libavcodec/riscv/fmtconvert_rvv.S
+++ b/libavcodec/riscv/fmtconvert_rvv.S
@@ -24,7 +24,7 @@ func ff_int32_to_float_fmul_scalar_rvv, zve32f
 NOHWF   fmv.w.x     fa0, a2
 NOHWF   mv          a2, a3
 1:
-        vsetvli     t0, a2, e32, m1, ta, ma
+        vsetvli     t0, a2, e32, m8, ta, ma
         vle32.v     v24, (a1)
         sub         a2, a2, t0
         vfcvt.f.x.v v24, v24
-- 
2.40.1



More information about the ffmpeg-devel mailing list