[FFmpeg-devel] Cherry-pick commit 6803a298f4338c19c3032d2417c6e857eb6d95be Support for MIPS cpu P6600

Submitted by shivraj.patil@imgtec.com on Oct. 6, 2016, 5:16 a.m.

Details

Message ID 1475731017-11516-1-git-send-email-shivraj.patil@imgtec.com
State New
Headers show

Commit Message

shivraj.patil@imgtec.com Oct. 6, 2016, 5:16 a.m.
From: Shivraj Patil <shivraj.patil@imgtec.com>

Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 configure |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Michael Niedermayer Oct. 6, 2016, 7:32 p.m.
On Thu, Oct 06, 2016 at 10:46:57AM +0530, shivraj.patil@imgtec.com wrote:
> From: Shivraj Patil <shivraj.patil@imgtec.com>
> 
> Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  configure |    6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

6803a298f4338c19c3032d2417c6e857eb6d95be backported to releases where
it applied cleanly (3.0, 3.1)

[...]

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index 5b069eb..64142e7 100755
--- a/configure
+++ b/configure
@@ -4336,7 +4336,7 @@  elif enabled mips; then
                 enable mips32r2
                 disable msa
             ;;
-            p5600|i6400)
+            p5600|i6400|p6600)
                 disable mipsdsp
                 disable mipsdspr2
             ;;
@@ -4401,6 +4401,10 @@  elif enabled mips; then
                 enable mips64r6
                 check_cflags "-mtune=i6400 -mabi=64" && check_cflags "-msched-weight -mload-store-pairs -funroll-loops" && check_ldflags "-mabi=64"
             ;;
+            p6600)
+                enable mips64r6
+                check_cflags "-mtune=p6600 -mabi=64" && check_cflags "-msched-weight -mload-store-pairs -funroll-loops" && check_ldflags "-mabi=64"
+            ;;
         esac
     else
         # We do not disable anything. Is up to the user to disable the unwanted features.