avcodec/mips: [loongson] fix improper use of register constraints.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Thu, 6 Sep 2018 08:10:52 +0000 (16:10 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 7 Sep 2018 18:35:54 +0000 (20:35 +0200)
commit9f60c58586805cc5249ea0446a9bb86eed8bc311
treeb875b3c6d8458bfdf622f89a4b89a0e8b4366360
parentf4438e387e039cd078879096453c54d5ce2c94d1
avcodec/mips: [loongson] fix improper use of register constraints.

Constraint "g" means compiler can store variable in memory or register.
When we use constraint "g" for a variable and this variable was operated by
instruction which only support register operands may lead "invalid operands" error.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/vc1dsp_mmi.c