[FFmpeg-devel] [PATCH 4/4] lavu/riscv: remove bespoke assembler for MIN

Rémi Denis-Courmont remi at remlab.net
Tue May 7 21:11:01 EEST 2024


This is no longer necessary as Zbb is now always explicitly required.
---
 libavutil/riscv/asm.S | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libavutil/riscv/asm.S b/libavutil/riscv/asm.S
index 9d76ab5617..14be5055f5 100644
--- a/libavutil/riscv/asm.S
+++ b/libavutil/riscv/asm.S
@@ -95,11 +95,6 @@
         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
-- 
2.43.0



More information about the ffmpeg-devel mailing list