avutil/mips: Use $at as MMI macro temporary register
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Fri, 23 Jul 2021 05:53:43 +0000 (13:53 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 28 Jul 2021 21:31:48 +0000 (23:31 +0200)
commita1cd62883f84072b7c9fa13e9a2512e13618399e
tree36802d1e1235362484a4cef1fcd8ab141aae77ff
parent1042039ccda7e9099f139b14981b48ee59900804
avutil/mips: Use $at as MMI macro temporary register

Some function had exceed 30 inline assembly register oprands limiation
when using LOONGSON2 version of MMI macros. We can avoid that by take
$at, which is register reserved for assembler, as temporary register.

As none of instructions used in these macros is pseudo, it is safe to
utilize $at here.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/mips/mmiutils.h