ffmpeg | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Fri Aug  2 
18:07:04 2024 +0300| [de7f999481b1928d81bc997fc63ff8ff17e79383] | committer: 
Rémi Denis-Courmont

lavc/videodsp: work-around LLVM-as

For some reason, it can't handle the normal syntax for an address operand
without an offset, so add a dummy zero offset.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=de7f999481b1928d81bc997fc63ff8ff17e79383
---

 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
 

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

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

Reply via email to