[FFmpeg-devel] [PATCH] Disable MSA for big-endian mips cpu

Michael Niedermayer michael at niedermayer.cc
Fri May 26 16:40:20 EEST 2017


On Fri, May 26, 2017 at 04:08:55PM +0530, shivraj.patil at imgtec.com wrote:
> From: Shivraj Patil <shivraj.patil at imgtec.com>
> 
> Signed-off-by: Shivraj Patil <shivraj.patil at imgtec.com>
> ---
>  libavcodec/mips/Makefile                    |    2 ++
>  libavcodec/mips/blockdsp_init_mips.c        |    8 ++++----
>  libavcodec/mips/h263dsp_init_mips.c         |    8 ++++----
>  libavcodec/mips/h264chroma_init_mips.c      |    8 ++++----
>  libavcodec/mips/h264dsp_init_mips.c         |    8 ++++----
>  libavcodec/mips/h264pred_init_mips.c        |    8 ++++----
>  libavcodec/mips/h264qpel_init_mips.c        |    8 ++++----
>  libavcodec/mips/hevcdsp_init_mips.c         |    8 ++++----
>  libavcodec/mips/hevcpred_init_mips.c        |    8 ++++----
>  libavcodec/mips/hpeldsp_init_mips.c         |    8 ++++----
>  libavcodec/mips/idctdsp_init_mips.c         |    8 ++++----
>  libavcodec/mips/me_cmp_init_mips.c          |    8 ++++----
>  libavcodec/mips/mpegvideo_init_mips.c       |    8 ++++----
>  libavcodec/mips/mpegvideoencdsp_init_mips.c |    8 ++++----
>  libavcodec/mips/pixblockdsp_init_mips.c     |    8 ++++----
>  libavcodec/mips/qpeldsp_init_mips.c         |    8 ++++----
>  libavcodec/mips/vp8dsp_init_mips.c          |    8 ++++----
>  libavcodec/mips/vp9dsp_init_mips.c          |    8 ++++----
>  18 files changed, 70 insertions(+), 68 deletions(-)

Why does none of this code work on big endian mips ?

Is it difficult to make it work ?

Is it certain that the "disabled" code does not work on
big endian mips ?

Is it known that the reason for it not working is the endianness or
could it be a unrelated issue that makes it work on neither endianness?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170526/5a6d1f03/attachment.sig>


More information about the ffmpeg-devel mailing list