[FFmpeg-devel] [PATCH] configure: enable VSX for ppc64el

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sat Jun 13 13:15:46 CEST 2015


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.Cadhalpun at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-only-disable-VSX-for-ppc64el.patch
Type: text/x-diff
Size: 1117 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150613/8aa89886/attachment.bin>


More information about the ffmpeg-devel mailing list