[FFmpeg-devel] [PATCH 4/4] configure: Add 2k1000 for loongson.

Yin Shiyou yinshiyou-hf at loongson.cn
Wed Dec 18 08:39:11 EET 2019


Usage: configure --cpu=2k1000
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 2cdfd32..8323c67 100755
--- a/configure
+++ b/configure
@@ -5001,6 +5001,10 @@ elif enabled mips; then
                     fi
                 fi
                 case $cpu in
+                    2k1000)
+                        cpuflags="-march=loongson3a -mhard-float"
+                        disable msa2
+                    ;;
                     loongson3*)
                         cpuflags="-march=loongson3a -mhard-float $expensive_optimization_flag"
                     ;;
-- 
2.1.0



More information about the ffmpeg-devel mailing list