loongarch: Reduce the number of instructions
authoryuanhecai <yuanhecai@loongson.cn>
Mon, 9 May 2022 06:39:05 +0000 (14:39 +0800)
committeryuanhecai <yuanhecai@loongson.cn>
Thu, 19 May 2022 06:35:22 +0000 (14:35 +0800)
commit63378a94f996304e2784ecd6584e70cf487991e9
tree8dbbc5431d6a2f06a6899ddf57be794d2a5c1e8c
parent17959f9c94be43de57972052ebfdc40870170b0e
loongarch: Reduce the number of instructions

Replace some redundant instructions to improve the efficiency
of the program.

1. txfm_macros_lsx.h
2. vpx_convolve8_avg_lsx.c
3. vpx_convolve8_horiz_lsx.c
4. vpx_convolve8_lsx.c
5. vpx_convolve8_vert_lsx.c
6. vpx_convolve_copy_lsx.c
7. vpx_convolve_lsx.h

Bug: webm:1755

Change-Id: I9b7fdf6900338a26f9b1775609ad387648684f3d
vpx_dsp/loongarch/sad_lsx.c
vpx_dsp/loongarch/txfm_macros_lsx.h
vpx_dsp/loongarch/vpx_convolve8_avg_lsx.c
vpx_dsp/loongarch/vpx_convolve8_horiz_lsx.c
vpx_dsp/loongarch/vpx_convolve8_lsx.c
vpx_dsp/loongarch/vpx_convolve8_vert_lsx.c
vpx_dsp/loongarch/vpx_convolve_copy_lsx.c
vpx_dsp/loongarch/vpx_convolve_lsx.h