mips: add p5600 core optimizations
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Thu, 3 Dec 2015 13:22:18 +0000 (13:22 +0000)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 4 Dec 2015 19:51:01 +0000 (20:51 +0100)
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
configure

index 2e64821..aa21b39 100755 (executable)
--- a/configure
+++ b/configure
@@ -4120,8 +4120,9 @@ elif enabled mips; then
             disable mips64r6
             disable mipsdsp
             disable mipsdspr2
-
-            check_cflags "-mtune=p5600"
+            check_cflags "-mtune=p5600" &&
+            check_cflags "-mfp64 -msched-weight -mload-store-pairs -funroll-loops" &&
+            add_asflags "-mfp64"
         ;;
         i6400)
             disable mipsdsp