From 50eee357eb171e62a87da7a5c95a1c76685df291 Mon Sep 17 00:00:00 2001 From: Zhou Xiaoyong Date: Mon, 10 Oct 2016 16:07:20 +0800 Subject: [PATCH] configure: loongson disable mipsfpu and mipsdsp optimizations The optimizations of mipsdsp are not supported by all loongson cpu. The optimizations of mipsfpu and mipsdspr2 maybe supported by 3A2000/3A3000/3A4000 but not tested yet. Loongson only support mmi (loongSIMD) optimizations now. Signed-off-by: Michael Niedermayer --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index e014615eb9..8fc71fbfdc 100755 --- a/configure +++ b/configure @@ -4380,6 +4380,9 @@ elif enabled mips; then enable fast_cmov enable fast_unaligned disable aligned_stack + disable mipsfpu + disable mipsdsp + disable mipsdspr2 case $cpu in loongson3*) cpuflags="-march=loongson3a -mhard-float -fno-expensive-optimizations"