[FFmpeg-cvslog] lavc/videodsp: work-around LLVM-as

Rémi Denis-Courmont git at videolan.org
Sat Aug 3 09:24:28 EEST 2024


ffmpeg | branch: master | Rémi Denis-Courmont <remi at 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
 



More information about the ffmpeg-cvslog mailing list