lavu/riscv: allow requesting a second extension

This commit is contained in:
Rémi Denis-Courmont 2024-05-07 21:07:43 +03:00
parent 6e77af1c22
commit 89029baebd

View File

@ -36,13 +36,16 @@
#define HWD #define HWD
#endif #endif
.macro func sym, ext= .macro func sym, ext1=, ext2=
.text .text
.align 2 .align 2
.option push .option push
.ifnb \ext .ifnb \ext1
.option arch, +\ext .option arch, +\ext1
.ifnb \ext2
.option arch, +\ext2
.endif
.endif .endif
.global \sym .global \sym