mips: put "disable mipsfpu" in a better place for loongson
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Thu, 3 Dec 2015 13:22:25 +0000 (13:22 +0000)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 30 Dec 2015 19:21:57 +0000 (20:21 +0100)
Let's disable the ISAs first, and then the core capabilities, as we do
for the rest of the cores. This way the code is better organized.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
configure

index 6d21e4a..7fee737 100755 (executable)
--- a/configure
+++ b/configure
@@ -4198,11 +4198,11 @@ elif enabled mips; then
             add_asflags "-mfp64"
         ;;
         loongson*)
             add_asflags "-mfp64"
         ;;
         loongson*)
-            disable mipsfpu
             disable mips32r2
             disable mips32r6
             disable mips64r2
             disable mips64r6
             disable mips32r2
             disable mips32r6
             disable mips64r2
             disable mips64r6
+            disable mipsfpu
             disable mipsdsp
             disable mipsdspr2
             disable msa
             disable mipsdsp
             disable mipsdspr2
             disable msa