]> granicus.if.org Git - libvpx/commitdiff
Remove default cortex-a8 tuning.
authorJohann <johannkoenig@google.com>
Mon, 1 Dec 2014 19:06:49 +0000 (11:06 -0800)
committerJohann <johannkoenig@google.com>
Mon, 1 Dec 2014 19:08:59 +0000 (11:08 -0800)
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

build/make/configure.sh
configure

index d264ea260b36deb067bee863e1f3142172dab1eb..9327ce95e74c43e6b3260d2d17c96d8921415a59 100644 (file)
@@ -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}
index c23b5fd1eaf37f656ea7d4350eac38ff1da83668..3ac00ff317447b3ce80df30aae93df908b011436 100755 (executable)
--- 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]