aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhou Xiaoyong <zhouxiaoyong@loongson.cn>2016-10-10 16:07:20 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2016-10-10 16:05:27 +0200
commit50eee357eb171e62a87da7a5c95a1c76685df291 (patch)
treef199ee5ec56bdb79b0efd74f9e58b93c00d7918f
parent9b462a0b9df6260f59726c98d8aef8b07a1e442b (diff)
downloadffmpeg-50eee357eb171e62a87da7a5c95a1c76685df291.tar.gz
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 <michael@niedermayer.cc>
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
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"