diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2023-11-15 19:59:06 +0200 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2023-11-18 22:01:59 +0200 |
commit | cd6089dc9ce9406274ca08ea14df95cff0133fd3 (patch) | |
tree | 0f5fa8a582632cf2f3b5aa9d9058a6c2b2955435 /libavutil | |
parent | 2d4aef8982791b59000a01ba334a8a3bd3a8d5b3 (diff) | |
download | ffmpeg-cd6089dc9ce9406274ca08ea14df95cff0133fd3.tar.gz |
riscv: fix builds without Zbb support
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/riscv/asm.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/riscv/asm.S b/libavutil/riscv/asm.S index 6ca74f263a..0a9e2e0d3f 100644 --- a/libavutil/riscv/asm.S +++ b/libavutil/riscv/asm.S @@ -92,6 +92,11 @@ shnadd 3, \rd, \rs1, \rs2 .endm #endif +#if !defined (__riscv_zbb) + .macro min rd, rs1, rs2 + .insn r OP, 4, 5, \rd, \rs1, \rs2 + .endm +#endif /* Convenience macro to load a Vector type (vtype) as immediate */ .macro lvtypei rd, e, m=m1, tp=tu, mp=mu |