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

index 9d35abd..c4671a6 100755 (executable)
--- a/configure
+++ b/configure
@@ -4162,9 +4162,10 @@ elif enabled mips; then
             disable mipsdsp
             disable mipsdspr2
             disable mipsfpu
-
-            check_cflags "-mtune=i6400 -mabi=64"
-            check_ldflags "-mabi=64"
+            check_cflags "-mtune=i6400 -mabi=64" &&
+            check_cflags "-mfp64 -msched-weight -mload-store-pairs -funroll-loops" &&
+            check_ldflags "-mabi=64" &&
+            add_asflags "-mfp64"
         ;;
         loongson*)
             disable mipsfpu