[FFmpeg-cvslog] configure: enable vsx together with altivec for ppc64el
Andreas Cadhalpun
git at videolan.org
Thu Feb 12 18:11:45 CET 2015
ffmpeg | branch: release/2.5 | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Fri Jan 9 17:32:09 2015 +0100| [9e9cde6afab06674b2ae6e4fd7f74fef740bda30] | committer: Michael Niedermayer
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 at gmx.at>
(cherry picked from commit 6108485cf70f04dbf4708bd84ce749da871fa3f1)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e9cde6afab06674b2ae6e4fd7f74fef740bda30
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 9190c4e..b0da05f 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
More information about the ffmpeg-cvslog
mailing list