From: Johann Date: Mon, 1 Dec 2014 19:06:49 +0000 (-0800) Subject: Remove default cortex-a8 tuning. X-Git-Tag: v1.4.0~454 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=661802b61d37419da82693bce11b9b0d038967de;p=libvpx Remove default cortex-a8 tuning. Probably not even the dominant platform the library is being built for. Add --cpu= option description to help. The option already exists. Don't allow passing just --cpu as a no-op. BUG=826 Change-Id: Iaa3f4f693ec78b18927b159b480daafeba0549c0 --- diff --git a/build/make/configure.sh b/build/make/configure.sh index d264ea260..9327ce95e 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -495,8 +495,6 @@ process_common_cmdline() { toolchain="${toolchain:-${optval}}" enable_feature force_toolchain ;; - --cpu) - ;; --cpu=*) tune_cpu="$optval" ;; @@ -843,10 +841,6 @@ EOF check_add_cflags -mfpu=neon #-ftree-vectorize check_add_asflags -mfpu=neon fi - - if [ -z "${tune_cpu}" ]; then - tune_cpu=cortex-a8 - fi else check_add_cflags -march=${tgt_isa} check_add_asflags -march=${tgt_isa} diff --git a/configure b/configure index c23b5fd1e..3ac00ff31 100755 --- a/configure +++ b/configure @@ -26,6 +26,7 @@ Advanced options: ${toggle_unit_tests} unit tests ${toggle_decode_perf_tests} build decoder perf tests with unit tests ${toggle_encode_perf_tests} build encoder perf tests with unit tests + --cpu=CPU tune for the specified CPU (ARM: cortex-a8, X86: sse3) --libc=PATH path to alternate libc --size-limit=WxH max size to allow in the decoder --as={yasm|nasm|auto} use specified assembler [auto, yasm preferred]