Commit 50eee357 authored by Zhou Xiaoyong's avatar Zhou Xiaoyong Committed by Michael Niedermayer

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: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 9b462a0b
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment