diff mbox

[FFmpeg-devel,1/7] configure: loongson disable mipsfpu and mipsdsp optimizations

Message ID 1f04a2d6.8d51.157ada1bb6b.Coremail.ipfootball@126.com
State Accepted
Commit 50eee357eb171e62a87da7a5c95a1c76685df291
Headers show

Commit Message

周晓勇 Oct. 10, 2016, 8:07 a.m. UTC
From efccaec2b5b543eb98f0400fdaef88d9147d08c1 Mon Sep 17 00:00:00 2001
From: Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
Date: Mon, 10 Oct 2016 14:19:58 +0800
Subject: [PATCH 1/7] configure: loongson disable mipsfpu and mipsdsp
 optimizations


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

Comments

Michael Niedermayer Oct. 10, 2016, 11:20 a.m. UTC | #1
On Mon, Oct 10, 2016 at 04:07:20PM +0800, 周晓勇 wrote:
> From efccaec2b5b543eb98f0400fdaef88d9147d08c1 Mon Sep 17 00:00:00 2001
> From: Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
> Date: Mon, 10 Oct 2016 14:19:58 +0800
> Subject: [PATCH 1/7] configure: loongson disable mipsfpu and mipsdsp
>  optimizations

the commit message is missing an explanation for "why?"


[...]
周晓勇 Oct. 10, 2016, 12:42 p.m. UTC | #2
Hi,
1.The optimizations of mipsdsp are not supported by all loongson cpu.
2.The optimizations of mipsfpu and mipsdspr2 maybe supported by 3A2000/3A3000/3A4000 but not tested yet. 3.Loongson only support mmi (loongSIMD) optimizations now.






在2016年10月10日 19:20 ,Michael Niedermayer写道:

On Mon, Oct 10, 2016 at 04:07:20PM +0800, 周晓勇 wrote:
> From efccaec2b5b543eb98f0400fdaef88d9147d08c1 Mon Sep 17 00:00:00 2001
> From: Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
> Date: Mon, 10 Oct 2016 14:19:58 +0800
> Subject: [PATCH 1/7] configure: loongson disable mipsfpu and mipsdsp
>  optimizations

the commit message is missing an explanation for "why?"


[...]
--
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
Michael Niedermayer Oct. 10, 2016, 2:02 p.m. UTC | #3
On Mon, Oct 10, 2016 at 08:42:55PM +0800, 周晓勇 wrote:
> Hi,
> 1.The optimizations of mipsdsp are not supported by all loongson cpu.
> 2.The optimizations of mipsfpu and mipsdspr2 maybe supported by 3A2000/3A3000/3A4000 but not tested yet. 3.Loongson only support mmi (loongSIMD) optimizations now.

applied

thx

[...]
diff mbox

Patch

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
                     loongson3*)
                         cpuflags="-march=loongson3a -mhard-float -fno-expensive-optimizations"