avutil/mips: optimize UNPCK&SAD macros with MSA2.0 instruction.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Tue, 9 Jul 2019 12:43:37 +0000 (20:43 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 10 Jul 2019 10:54:57 +0000 (12:54 +0200)
commita45e8ade2d2d46fde48ee0567ab18e23dc8c71d1
tree1ca939b0771080f7b9402acfd4c0cd79f5f52035
parent24f7a8a1688f88af153de4587de50cbf3084ee7d
avutil/mips: optimize UNPCK&SAD macros with MSA2.0 instruction.

Loongson 3A4000 and 2k1000 has supported MSA2.0.
This patch optimized SAD_UB2_UH,UNPCK_R_SH_SW,UNPCK_SB_SH and UNPCK_SH_SW with MSA2.0 instruction.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
configure
libavutil/mips/generic_macros_msa.h