[FFmpeg-devel] [PATCH] lavc/videodsp: work-around LLVM-as
Rémi Denis-Courmont
remi at remlab.net
Fri Aug 2 18:07:58 EEST 2024
For some reason, it can't handle the normal syntax for an address operand
without an offset, so add a dummy zero offset.
---
libavcodec/riscv/videodsp.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/riscv/videodsp.S b/libavcodec/riscv/videodsp.S
index 72bf70ec52..011b85ffc4 100644
--- a/libavcodec/riscv/videodsp.S
+++ b/libavcodec/riscv/videodsp.S
@@ -25,7 +25,7 @@
func ff_prefetch_rv_zicbop, zicbop
1:
addi a2, a2, -1
- prefetch.r (a0)
+ prefetch.r 0(a0)
add a0, a0, a1
bnez a2, 1b
--
2.45.2
More information about the ffmpeg-devel
mailing list