Browse code

mips: remove --mips64r6 configure option

Having a configure option with the same name as a MIPS ISA is confusing,
so better to remove it. This option was being used to add some
optimizations to a specific core (i6400). We will add the optimizations
just when the i6400 core has been detected, in a later patch.

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

Vicente Olivert Riera authored on 2015/12/03 22:22:19
Showing 2 changed files
... ...
@@ -42,6 +42,7 @@ version <next>:
42 42
 - mipsdspr1 option has been renamed to mipsdsp
43 43
 - aemphasis filter
44 44
 - mips32r5 option has been removed
45
+- mips64r6 option has been removed
45 46
 - DXVA2-accelerated VP9 decoding
46 47
 
47 48
 
... ...
@@ -384,7 +384,6 @@ Optimization options (experts only):
384 384
   --disable-neon           disable NEON optimizations
385 385
   --disable-inline-asm     disable use of inline assembly
386 386
   --disable-yasm           disable use of nasm/yasm assembly
387
-  --disable-mips64r6       disable MIPS64R6 optimizations
388 387
   --disable-mipsdsp        disable MIPS DSP ASE R1 optimizations
389 388
   --disable-mipsdspr2      disable MIPS DSP ASE R2 optimizations
390 389
   --disable-msa            disable MSA optimizations
... ...
@@ -5006,14 +5005,8 @@ elif enabled mips; then
5006 5006
     elif enabled mipsdsp || enabled mipsdspr2; then
5007 5007
         add_cflags "-mips32r2 -mfp32"
5008 5008
         add_asflags "-mips32r2 -mfp32"
5009
-    elif enabled mips64r6; then
5010
-        check_cflags "-mfp64"
5011
-        check_ldflags "-mfp64"
5012 5009
     fi
5013 5010
 
5014
-    enabled mips64r6  && check_cflags "-mips64r6 -msched-weight -mload-store-pairs -funroll-loops" &&
5015
-     check_ldflags "-mips64r6" &&
5016
-     check_inline_asm mips64r6  '"aui $t0, $t1, 1"'
5017 5011
     enabled mipsdsp && add_cflags "-mdsp" && add_asflags "-mdsp" &&
5018 5012
      check_inline_asm mipsdsp '"addu.qb $t0, $t1, $t2"'
5019 5013
     enabled mipsdspr2 && add_cflags "-mdspr2" && add_asflags "-mdspr2" &&
... ...
@@ -5023,7 +5016,6 @@ elif enabled mips; then
5023 5023
     enabled msa       && check_cflags "-mmsa" && check_ldflags "-mmsa" &&
5024 5024
      check_inline_asm msa       '"addvi.b $w0, $w1, 1"'
5025 5025
 
5026
-    enabled mips64r6 && add_asflags "-mips64r6 -mfp64"
5027 5026
     enabled msa && add_asflags "-mmsa"
5028 5027
 
5029 5028
 elif enabled parisc; then
... ...
@@ -6096,7 +6088,6 @@ if enabled arm; then
6096 6096
 fi
6097 6097
 if enabled mips; then
6098 6098
     echo "MIPS FPU enabled          ${mipsfpu-no}"
6099
-    echo "MIPS64R6 enabled          ${mips64r6-no}"
6100 6099
     echo "MIPS DSP R1 enabled       ${mipsdsp-no}"
6101 6100
     echo "MIPS DSP R2 enabled       ${mipsdspr2-no}"
6102 6101
     echo "MIPS MSA enabled          ${msa-no}"