summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2015-12-03 13:22:20 +0000
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-12 19:47:11 +0100
commit88d66f691a4c4e7dbdb8d8509bc1bdd1e3c329ef (patch)
tree5ea15c8fff3e66bd8aecd427c770ea690476c215 /configure
parent1dcd96f72f77fcfdb86718137b1a0388c20f370d (diff)
mips: add i6400 core optimizations
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 9d35abd7cc..c4671a6423 100755
--- 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