lavu/riscv: allow requesting a second extension

release/7.1
Rémi Denis-Courmont 9 months ago
parent 6e77af1c22
commit 89029baebd
  1. 9
      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

Loading…
Cancel
Save