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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to