From 9e9cde6afab06674b2ae6e4fd7f74fef740bda30 Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Fri, 9 Jan 2015 17:32:09 +0100 Subject: [PATCH] configure: enable vsx together with altivec for ppc64el The altivec optimizations on little endian ppc64 don't work without vsx. Signed-off-by: Michael Niedermayer (cherry picked from commit 6108485cf70f04dbf4708bd84ce749da871fa3f1) Signed-off-by: Michael Niedermayer --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 9190c4e4cd..b0da05f6a3 100755 --- a/configure +++ b/configure @@ -4413,7 +4413,7 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; EOF od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian -if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] ;then +if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] || enabled ppc64; then if ! enabled bigendian && enabled altivec ;then enable vsx fi