[FFmpeg-devel] [PATCH 2/3] avcodec/mips: Refine get_cabac_inline_mips.

Michael Niedermayer michael at niedermayer.cc
Sun Sep 6 23:51:18 EEST 2020


On Sat, Sep 05, 2020 at 10:25:17AM +0800, Shiyou Yin wrote:
> 1. Refined function get_cabac_inline_mips.
> 2. Optimize function get_cabac_bypass and get_cabac_bypass_sign.
> 
> Speed of decoding h264: 5.23x ==> 5.45x(tested on 3A4000).
> ---
>  libavcodec/mips/cabac.h | 131 +++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 102 insertions(+), 29 deletions(-)

It seems this breaks build here

CC	libavcodec/h264_cabac.o
/tmp/ccQcUsBK.s: Assembler messages:
/tmp/ccQcUsBK.s:172: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $10,$10'
/tmp/ccQcUsBK.s:3391: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $24,$24'
/tmp/ccQcUsBK.s:3759: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $21,$21'
/tmp/ccQcUsBK.s:3837: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $21,$21'
/tmp/ccQcUsBK.s:3998: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $22,$22'
/tmp/ccQcUsBK.s:4074: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $21,$21'
/tmp/ccQcUsBK.s:4147: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $22,$22'
/tmp/ccQcUsBK.s:4213: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $22,$22'
/tmp/ccQcUsBK.s:4255: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $23,$23'
/tmp/ccQcUsBK.s:4383: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $21,$21'
/tmp/ccQcUsBK.s:4496: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $22,$22'
/tmp/ccQcUsBK.s:4572: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $21,$21'
/tmp/ccQcUsBK.s:4645: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $22,$22'
/tmp/ccQcUsBK.s:4711: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $22,$22'
/tmp/ccQcUsBK.s:4753: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $23,$23'
/tmp/ccQcUsBK.s:4798: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $21,$21'
/tmp/ccQcUsBK.s:5003: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $14,$14'
/tmp/ccQcUsBK.s:5099: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $25,$25'
/tmp/ccQcUsBK.s:5212: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $25,$25'
/tmp/ccQcUsBK.s:5283: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $25,$25'
/tmp/ccQcUsBK.s:5396: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $9,$9'
/tmp/ccQcUsBK.s:5721: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $21,$21'
/tmp/ccQcUsBK.s:5791: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $21,$21'
/tmp/ccQcUsBK.s:5960: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $22,$22'
/tmp/ccQcUsBK.s:6036: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $21,$21'
/tmp/ccQcUsBK.s:6110: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsbh $22,$22'
...

mips-linux-gnu-gcc-7 (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc


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

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200906/ee2b3e56/attachment.sig>


More information about the ffmpeg-devel mailing list