diff options
author | 周晓勇 <zhouxiaoyong@loongson.cn> | 2015-07-03 18:11:27 +0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-07-07 03:46:57 +0200 |
commit | 387cbe018c87b44874a2e5dc53fe46b9695593f1 (patch) | |
tree | 3c9ab0913d31596b9db09e6c2a186cc9c8538bc6 /configure | |
parent | 72aaca748847f3add8349deb1577667b3964fe24 (diff) | |
download | ffmpeg-387cbe018c87b44874a2e5dc53fe46b9695593f1.tar.gz |
use mmi instead of loongson3 as simd-optimization flag
Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -374,7 +374,7 @@ Optimization options (experts only): --disable-mipsdspr2 disable MIPS DSP ASE R2 optimizations --disable-msa disable MSA optimizations --disable-mipsfpu disable floating point MIPS optimizations - --disable-loongson3 disable Loongson-3 SIMD optimizations + --disable-mmi disable Loongson SIMD optimizations --disable-fast-unaligned consider unaligned accesses slow Developer options (useful when working on FFmpeg itself): @@ -1591,7 +1591,7 @@ ARCH_EXT_LIST_MIPS=" " ARCH_EXT_LIST_LOONGSON=" - loongson3 + mmi " ARCH_EXT_LIST_X86_SIMD=" @@ -2046,7 +2046,7 @@ mips32r2_deps="mips" mips32r5_deps="mips" mips64r6_deps="mips" msa_deps="mips" -loongson3_deps="mips" +mmi_deps="mips" altivec_deps="ppc" dcbzl_deps="ppc" @@ -4737,6 +4737,8 @@ EOF elif enabled mips; then + enabled mmi && check_inline_asm mmi '"punpcklhw $f0, $f0, $f0"' + # Enable minimum ISA based on selected options if enabled mips64 && (enabled mipsdspr1 || enabled mipsdspr2); then add_cflags "-mips64r2" @@ -5779,7 +5781,7 @@ if enabled mips; then echo "MIPS DSP R1 enabled ${mipsdspr1-no}" echo "MIPS DSP R2 enabled ${mipsdspr2-no}" echo "MIPS MSA enabled ${msa-no}" - echo "LOONGSON3 enabled ${loongson3-no}" + echo "LOONGSON MMI enabled ${mmi-no}" fi if enabled ppc; then echo "AltiVec enabled ${altivec-no}" |