[x264-devel] [PATCH 2/6] vsx: configure support
Luca Barbato
lu_zero at gentoo.org
Tue Nov 1 23:16:14 CET 2016
---
configure | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 9d1586c..346a580 100755
--- a/configure
+++ b/configure
@@ -375,7 +375,7 @@ NL="
# list of all preprocessor HAVE values we can define
CONFIG_HAVE="MALLOC_H ALTIVEC ALTIVEC_H MMX ARMV6 ARMV6T2 NEON BEOSTHREAD POSIXTHREAD WIN32THREAD THREAD LOG2F SWSCALE \
LAVF FFMS GPAC AVS GPL VECTOREXT INTERLACED CPU_COUNT OPENCL THP LSMASH X86_INLINE_ASM AS_FUNC INTEL_DISPATCHER \
- MSA MMAP WINRT"
+ MSA MMAP WINRT VSX"
# parse options
@@ -737,6 +737,10 @@ case $host_cpu in
CFLAGS="$CFLAGS -maltivec -mabi=altivec"
define HAVE_ALTIVEC_H
fi
+ if cc_check "" "-mvsx" ; then
+ CFLAGS="$CFLAGS -mvsx"
+ define HAVE_VSX
+ fi
fi
;;
sparc)
--
2.9.2
More information about the x264-devel
mailing list