[FFmpeg-devel] [PATCH v3 02/14] mips: remove --mips32r5 configure option
Vicente Olivert Riera
Vincent.Riera at imgtec.com
Thu Dec 3 14:22:17 CET 2015
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 (p5600). We will add the optimizations
just when the p5600 core has been detected, in a later patch.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
---
Changes v2 -> v3:
- Document it in the Changelog.
Changes v1 -> v2:
- Nothing.
Changelog | 2 +-
configure | 20 +-------------------
2 files changed, 2 insertions(+), 20 deletions(-)
diff --git a/Changelog b/Changelog
index 600ffea..c28d854 100644
--- a/Changelog
+++ b/Changelog
@@ -40,7 +40,7 @@ version <next>:
- apulsator filter
- sidechaingate audio filter
- mipsdspr1 option has been renamed to mipsdsp
-
+- mips32r5 option has been removed
version 2.8:
- colorkey video filter
diff --git a/configure b/configure
index ea2a746..d0631a0 100755
--- a/configure
+++ b/configure
@@ -382,7 +382,6 @@ Optimization options (experts only):
--disable-neon disable NEON optimizations
--disable-inline-asm disable use of inline assembly
--disable-yasm disable use of nasm/yasm assembly
- --disable-mips32r5 disable MIPS32R5 optimizations
--disable-mips64r6 disable MIPS64R6 optimizations
--disable-mipsdsp disable MIPS DSP ASE R1 optimizations
--disable-mipsdspr2 disable MIPS DSP ASE R2 optimizations
@@ -1631,7 +1630,6 @@ ARCH_EXT_LIST_ARM="
ARCH_EXT_LIST_MIPS="
mipsfpu
mips32r2
- mips32r5
mips64r6
mipsdsp
mipsdspr2
@@ -2109,7 +2107,6 @@ mipsfpu_deps="mips"
mipsdsp_deps="mips"
mipsdspr2_deps="mips"
mips32r2_deps="mips"
-mips32r5_deps="mips"
mips64r6_deps="mips"
msa_deps="mips"
mmi_deps="mips"
@@ -4065,7 +4062,6 @@ elif enabled mips; then
case $cpu in
24kc)
- disable mips32r5
disable mips64r6
disable mipsfpu
disable mipsdsp
@@ -4073,33 +4069,28 @@ elif enabled mips; then
disable msa
;;
24kf*)
- disable mips32r5
disable mips64r6
disable mipsdsp
disable mipsdspr2
disable msa
;;
24kec|34kc|1004kc)
- disable mips32r5
disable mips64r6
disable mipsfpu
disable mipsdspr2
disable msa
;;
24kef*|34kf*|1004kf*)
- disable mips32r5
disable mips64r6
disable mipsdspr2
disable msa
;;
74kc)
- disable mips32r5
disable mips64r6
disable mipsfpu
disable msa
;;
74kf)
- disable mips32r5
disable mips64r6
disable msa
;;
@@ -4111,7 +4102,6 @@ elif enabled mips; then
check_cflags "-mtune=p5600"
;;
i6400)
- disable mips32r5
disable mipsdsp
disable mipsdspr2
disable mipsfpu
@@ -4122,7 +4112,6 @@ elif enabled mips; then
loongson*)
disable mipsfpu
disable mips32r2
- disable mips32r5
disable mips64r6
disable mipsdsp
disable mipsdspr2
@@ -4147,14 +4136,12 @@ elif enabled mips; then
esac
;;
generic)
- disable mips32r5
disable mips64r6
disable msa
;;
*)
disable mipsfpu
disable mips32r2
- disable mips32r5
disable mips64r6
disable mipsdsp
disable mipsdspr2
@@ -4961,14 +4948,11 @@ elif enabled mips; then
elif enabled mipsdsp || enabled mipsdspr2; then
add_cflags "-mips32r2 -mfp32"
add_asflags "-mips32r2 -mfp32"
- elif enabled mips32r5 || enabled mips64r6; then
+ elif enabled mips64r6; then
check_cflags "-mfp64"
check_ldflags "-mfp64"
fi
- enabled mips32r5 && check_cflags "-mips32r5 -msched-weight -mload-store-pairs -funroll-loops" &&
- check_ldflags "-mips32r5" &&
- check_inline_asm mips32r5 '"ulw $t0, ($t1)"'
enabled mips64r6 && check_cflags "-mips64r6 -msched-weight -mload-store-pairs -funroll-loops" &&
check_ldflags "-mips64r6" &&
check_inline_asm mips64r6 '"aui $t0, $t1, 1"'
@@ -4981,7 +4965,6 @@ elif enabled mips; then
enabled msa && check_cflags "-mmsa" && check_ldflags "-mmsa" &&
check_inline_asm msa '"addvi.b $w0, $w1, 1"'
- enabled mips32r5 && add_asflags "-mips32r5 -mfp64"
enabled mips64r6 && add_asflags "-mips64r6 -mfp64"
enabled msa && add_asflags "-mmsa"
@@ -6049,7 +6032,6 @@ if enabled arm; then
fi
if enabled mips; then
echo "MIPS FPU enabled ${mipsfpu-no}"
- echo "MIPS32R5 enabled ${mips32r5-no}"
echo "MIPS64R6 enabled ${mips64r6-no}"
echo "MIPS DSP R1 enabled ${mipsdsp-no}"
echo "MIPS DSP R2 enabled ${mipsdspr2-no}"
--
2.4.10
More information about the ffmpeg-devel
mailing list