Index: source/libvpx/build/make/configure.sh |
=================================================================== |
--- source/libvpx/build/make/configure.sh (revision 271012) |
+++ source/libvpx/build/make/configure.sh (working copy) |
@@ -518,7 +518,7 @@ |
--enable-?*|--disable-?*) |
eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'` |
if echo "${ARCH_EXT_LIST}" | grep "^ *$option\$" >/dev/null; then |
- [ $action = "disable" ] && RTCD_OPTIONS="${RTCD_OPTIONS}${opt} " |
+ [ $action = "disable" ] && RTCD_OPTIONS="${RTCD_OPTIONS}--disable-${option} " |
elif [ $action = "disable" ] && ! disabled $option ; then |
echo "${CMDLINE_SELECT}" | grep "^ *$option\$" >/dev/null || |
die_unknown $opt |
@@ -792,8 +792,12 @@ |
arm*) |
# on arm, isa versions are supersets |
case ${tgt_isa} in |
+ armv8) |
+ soft_enable neon |
+ ;; |
armv7) |
soft_enable neon |
+ soft_enable neon_asm |
soft_enable media |
soft_enable edsp |
soft_enable fast_unaligned |
@@ -831,7 +835,7 @@ |
check_add_cflags -march=armv7-a -mfloat-abi=${float_abi} |
check_add_asflags -march=armv7-a -mfloat-abi=${float_abi} |
- if enabled neon |
+ if enabled neon || enabled neon_asm |
then |
check_add_cflags -mfpu=neon #-ftree-vectorize |
check_add_asflags -mfpu=neon |
@@ -878,7 +882,7 @@ |
tune_asflags="--cpu=" |
if [ -z "${tune_cpu}" ]; then |
if [ ${tgt_isa} = "armv7" ]; then |
- if enabled neon |
+ if enabled neon || enabled neon_asm |
then |
check_add_cflags --fpu=softvfp+vfpv3 |
check_add_asflags --fpu=softvfp+vfpv3 |