Merge pull request #1453 from kszaq/libdvbcsa-aarch64

libdvbcsa: use enable-neon for Aarch64
This commit is contained in:
Lukas Rusak 2017-03-24 00:20:05 -07:00 committed by GitHub
commit 19223ad06c

View File

@ -36,9 +36,7 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static --with-sysroot=$SYSR
if echo "$TARGET_FPU" | grep -q '^neon'; then if echo "$TARGET_FPU" | grep -q '^neon'; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-neon" PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-neon"
elif [ "$TARGET_ARCH" = aarch64 ]; then elif [ "$TARGET_ARCH" = aarch64 ]; then
# change this to --enable-neon when AArch64 NEON performance is improved PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-neon"
# check performance with test/benchbitslice
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-uint64"
elif [ "$TARGET_ARCH" = x86_64 ]; then elif [ "$TARGET_ARCH" = x86_64 ]; then
if echo "$PROJECT_CFLAGS" | grep -q '\-mssse3'; then if echo "$PROJECT_CFLAGS" | grep -q '\-mssse3'; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-ssse3" PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-ssse3"