diff mbox series

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

Message ID 20240802150758.3943-1-remi@remlab.net
State New
Headers show
Series [FFmpeg-devel] lavc/videodsp: work-around LLVM-as | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Rémi Denis-Courmont Aug. 2, 2024, 3:07 p.m. UTC
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 mbox series

Patch

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