aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-07-02 19:44:12 -0700
committerRémi Denis-Courmont <remi@remlab.net>2023-07-13 22:01:24 +0300
commita7b3c0203fc059db13595e0d0935e50979d2f41c (patch)
tree21afeaad3c69b7ff0d575e5a2d4202127adea0f1 /libswscale
parent9a2335444b83b9bfa6553c43c9cbdd352f0f11ef (diff)
downloadffmpeg-a7b3c0203fc059db13595e0d0935e50979d2f41c.tar.gz
libswscale/riscv: fix syntax of vsetvli
Add missing operand which clang complains about but GCC assumes it to be 'm1' if not specified. Works around build failure with Clang: | src/libswscale/riscv/rgb2rgb_rvv.S:88:25: error: operand must be e[8|16|32|64|128|256|512|1024],m[1|2|4|8|f2|f4|f8],[ta|tu],[ma|mu] | vsetvli t4, t3, e8, ta, ma | ^ Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/riscv/rgb2rgb_rvv.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/riscv/rgb2rgb_rvv.S b/libswscale/riscv/rgb2rgb_rvv.S
index 5626d906eb..bbdfdbebbc 100644
--- a/libswscale/riscv/rgb2rgb_rvv.S
+++ b/libswscale/riscv/rgb2rgb_rvv.S
@@ -85,7 +85,7 @@ func ff_interleave_bytes_rvv, zve32x
mv t3, a3
addi a4, a4, -1
2:
- vsetvli t4, t3, e8, ta, ma
+ vsetvli t4, t3, e8, m1, ta, ma
sub t3, t3, t4
vle8.v v8, (t0)
add t0, t4, t0