aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-01-09 17:32:09 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-12 17:10:35 +0100
commit9e9cde6afab06674b2ae6e4fd7f74fef740bda30 (patch)
tree26f9a1e0d59410319a7d9f15f13eee31b4c7153a
parent4f8814964ccbab10eebaa83a6fc62d382438c211 (diff)
downloadffmpeg-9e9cde6afab06674b2ae6e4fd7f74fef740bda30.tar.gz
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 <michaelni@gmx.at> (cherry picked from commit 6108485cf70f04dbf4708bd84ce749da871fa3f1) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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