diff mbox

[FFmpeg-devel] Support for MIPS cpu P6600

Message ID 1470384764-21022-1-git-send-email-shivraj.patil@imgtec.com
State Accepted
Commit 6803a298f4338c19c3032d2417c6e857eb6d95be
Headers show

Commit Message

shivraj.patil@imgtec.com Aug. 5, 2016, 8:12 a.m. UTC
From: Shivraj Patil <shivraj.patil@imgtec.com>

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

Comments

Michael Niedermayer Aug. 5, 2016, 10:01 a.m. UTC | #1
On Fri, Aug 05, 2016 at 01:42:44PM +0530, shivraj.patil@imgtec.com wrote:
> From: Shivraj Patil <shivraj.patil@imgtec.com>
> 
> Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>

applied

thanks

[...]
diff mbox

Patch

diff --git a/configure b/configure
index 9f5b31f..8e30c68 100755
--- a/configure
+++ b/configure
@@ -4346,7 +4346,7 @@  elif enabled mips; then
                 enable mips32r2
                 disable msa
             ;;
-            p5600|i6400)
+            p5600|i6400|p6600)
                 disable mipsdsp
                 disable mipsdspr2
             ;;
@@ -4411,6 +4411,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.