summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/riscv/asm.S9
1 files changed, 6 insertions, 3 deletions
diff --git a/libavutil/riscv/asm.S b/libavutil/riscv/asm.S
index 0a9e2e0d3f..9d76ab5617 100644
--- a/libavutil/riscv/asm.S
+++ b/libavutil/riscv/asm.S
@@ -36,13 +36,16 @@
#define HWD
#endif
- .macro func sym, ext=
+ .macro func sym, ext1=, ext2=
.text
.align 2
.option push
- .ifnb \ext
- .option arch, +\ext
+ .ifnb \ext1
+ .option arch, +\ext1
+ .ifnb \ext2
+ .option arch, +\ext2
+ .endif
.endif
.global \sym