From c993a11e56abcc8a6199ebed894394acd37f3c0c Mon Sep 17 00:00:00 2001 From: Shivraj Patil Date: Fri, 5 Aug 2016 13:42:44 +0530 Subject: [PATCH] Support for MIPS cpu P6600 Signed-off-by: Shivraj Patil Signed-off-by: Michael Niedermayer (cherry picked from commit 6803a298f4338c19c3032d2417c6e857eb6d95be) Signed-off-by: Michael Niedermayer --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index c9c139e7aa..1f36d37d16 100755 --- a/configure +++ b/configure @@ -4189,7 +4189,7 @@ elif enabled mips; then enable mips32r2 disable msa ;; - p5600|i6400) + p5600|i6400|p6600) disable mipsdsp disable mipsdspr2 ;; @@ -4254,6 +4254,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.