On 19/05/15 15:59, Diego Biurrun wrote:
> On Wed, May 13, 2015 at 01:46:48PM +0200, Luca Barbato wrote:
>> In Little Endian the vec_ld/vec_st operations work as
>> expected only for byte-vectors.
>> ---
>>  libavcodec/ppc/apedsp_altivec.c       | 4 ++--
>>  libavcodec/ppc/audiodsp.c             | 4 ++--
>>  libavcodec/ppc/dct-test.c             | 2 +-
>>  libavcodec/ppc/fdctdsp.c              | 4 ++--
>>  libavcodec/ppc/fft_init.c             | 4 ++--
>>  libavcodec/ppc/fmtconvert_altivec.c   | 4 ++--
>>  libavcodec/ppc/h264chroma_init.c      | 4 ++--
>>  libavcodec/ppc/h264dsp.c              | 4 ++--
>>  libavcodec/ppc/h264qpel.c             | 4 ++--
>>  libavcodec/ppc/hpeldsp_altivec.c      | 4 ++--
>>  libavcodec/ppc/huffyuvdsp_altivec.c   | 4 ++--
>>  libavcodec/ppc/idctdsp.c              | 4 ++--
>>  libavcodec/ppc/me_cmp.c               | 4 ++--
>>  libavcodec/ppc/mpegaudiodsp_altivec.c | 4 ++--
>>  libavcodec/ppc/mpegvideo_altivec.c    | 4 ++--
>>  libavcodec/ppc/mpegvideodsp.c         | 4 ++--
>>  libavcodec/ppc/mpegvideoencdsp.c      | 4 ++--
>>  libavcodec/ppc/pixblockdsp.c          | 4 ++--
>>  libavcodec/ppc/svq1enc_altivec.c      | 4 ++--
>>  libavcodec/ppc/vc1dsp_altivec.c       | 4 ++--
>>  libavcodec/ppc/vorbisdsp_altivec.c    | 4 ++--
>>  libavcodec/ppc/vp3dsp_altivec.c       | 4 ++--
>>  libavcodec/ppc/vp8dsp_altivec.c       | 4 ++--
>>  libavutil/ppc/float_dsp_init.c        | 3 ++-
>>  libswscale/ppc/swscale_altivec.c      | 2 +-
>>  25 files changed, 48 insertions(+), 47 deletions(-)
> 
> This looks like all instances of HAVE_ALTIVEC.  If so, it would be
> simpler and cleaner to just disable AltiVec in configure for little-endian.
> 

Not all otherwise I wouldn't do that =) There are some instructions that
do not use anything beside uint8_t arrays.

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to