PR #26360 opened by WyattBlue
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26360
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26360.patch
Four .irp directives omitted the comma after the symbol name. GNU as
tolerates this, but the LLVM integrated assembler rejects it with
"expected comma", breaking the build with clang.
The directives were added in 79adb692a2 ("rvv: add optimized h264
intra prediction functions").
# Summary of changes
Briefly describe what this PR does and why.
<!--
If this PR requires new FATE test samples, attach them to the PR and
list their target paths below (relative to the fate-suite root).
Attached filenames must match the sample's filename:
```fate-samples
# e.g. vorbis/new-sample.ogg
```
-->
>From d0080eb43b08e1c743cb330503e0c046b1e81666 Mon Sep 17 00:00:00 2001
From: WyattBlue <[email protected]>
Date: Wed, 25 Nov 2026 00:13:37 -0500
Subject: [PATCH] avcodec/riscv/h264_intrapred_rvv: add missing commas in .irp
Four .irp directives omitted the comma after the symbol name. GNU as
tolerates this, but the LLVM integrated assembler rejects it with
"expected comma", breaking the build with clang.
The directives were added in 79adb692a2 ("rvv: add optimized h264
intra prediction functions").
---
libavcodec/riscv/h264_intrapred_rvv.S | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/riscv/h264_intrapred_rvv.S
b/libavcodec/riscv/h264_intrapred_rvv.S
index 5f3bd0d9923..1e841f6d020 100644
--- a/libavcodec/riscv/h264_intrapred_rvv.S
+++ b/libavcodec/riscv/h264_intrapred_rvv.S
@@ -239,16 +239,16 @@ func ff_pred8x8_plane_8_rvv_vl\vlen, zve32x, zba
vmul.vx v18, v4, t6
- .irp n 19, 20, 21, 22, 23, 24, 25, 26
+ .irp n, 19, 20, 21, 22, 23, 24, 25, 26
vadd.vx v\n, v18, a5
add a5, a5, t5
.endr
- .irp n 19, 20, 21, 22, 23, 24, 25, 26
+ .irp n, 19, 20, 21, 22, 23, 24, 25, 26
vmax.vx v\n, v\n, zero
.endr
- .irp n 19, 20, 21, 22, 23, 24, 25, 26
+ .irp n, 19, 20, 21, 22, 23, 24, 25, 26
vsra.vi v\n, v\n, 5
.endr
@@ -630,7 +630,7 @@ func ff_pred16x16_plane_8_rvv_vl\vlen, zve32x, zba
vsetvlstatic16 16 \vlen 16
- .irp n 2, 4, 6, 8, 10, 12, 14, 16
+ .irp n, 2, 4, 6, 8, 10, 12, 14, 16
vadd.vx v\n, v24, a5
add a5, a5, t2
.endr
--
2.54.1
_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]