[FFmpeg-cvslog] configure: loongson disable mipsfpu and mipsdsp optimizations

Zhou Xiaoyong git at videolan.org
Mon Oct 10 17:07:00 EEST 2016

ffmpeg | branch: master | Zhou Xiaoyong <zhouxiaoyong at loongson.cn> | Mon Oct 10 16:07:20 2016 +0800| [50eee357eb171e62a87da7a5c95a1c76685df291] | committer: 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: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=50eee357eb171e62a87da7a5c95a1c76685df291

 configure | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure b/configure
index e014615..8fc71fb 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
                         cpuflags="-march=loongson3a -mhard-float -fno-expensive-optimizations"

More information about the ffmpeg-cvslog mailing list