On 13.06.2015 02:12, Michael Niedermayer wrote: > On Fri, Jun 12, 2015 at 08:40:28PM +0200, Andreas Cadhalpun wrote: >> Together with commit 04f0002 this changes the behavior back to what it >> was was before commit b0af404. >> >> Signed-off-by: Andreas Cadhalpun <andreas.cadhal...@googlemail.com> >> --- >> configure | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/configure b/configure >> index 0c907ff..3a6af6e 100755 >> --- a/configure >> +++ b/configure >> @@ -4610,6 +4610,9 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 >> | 'E'; >> EOF >> od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian >> >> +if enabled ppc64 && ! enabled bigendian && enabled altivec; then >> + enable vsx >> +fi >> > > this breaks --disable-vsx
Yes and commit 04f0002 broke --enable-vsx for generic cpu. Attached patch fixes that. Best regards, Andreas
>From 205b42daffe112ef83b6f3c297707e556c97300f Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun <andreas.cadhal...@googlemail.com> Date: Sat, 13 Jun 2015 13:09:21 +0200 Subject: [PATCH] configure: only disable VSX for !ppc64el This reverts commit 04f0002, which made it impossible to enable VSX with a generic cpu. This changes the behavior back to what it was before commit b0af404. Signed-off-by: Andreas Cadhalpun <andreas.cadhal...@googlemail.com> --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 0c907ff..06a9941 100755 --- a/configure +++ b/configure @@ -4033,9 +4033,6 @@ elif enabled ppc; then disable altivec disable dcbzl ;; - *) - disable vsx - ;; esac elif enabled sparc; then @@ -4610,6 +4607,9 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; EOF od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian +if ! enabled ppc64 || enabled bigendian; then + disable vsx +fi check_gas() { log "check_gas using '$as' as AS" -- 2.1.4
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel