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
#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