]> granicus.if.org Git - libvpx/commit
vp8,vpx_dsp:[loongson] fix bugs reported by clang
authorjinbo <jinbo-hf@loongson.cn>
Wed, 1 Jul 2020 00:56:25 +0000 (08:56 +0800)
committerjinbo <jinbo-hf@loongson.cn>
Tue, 7 Jul 2020 01:25:58 +0000 (09:25 +0800)
commit5b7882139c2f64d4ff830e1665e04a4d72f9e484
tree1d22729796ea897679edb770c4329dbf9c64e5e0
parenta1cee8dc919df1980d802e1a9bce1259ec34cba8
vp8,vpx_dsp:[loongson] fix bugs reported by clang

1. Adjust variable type to match clang compiler.
Clang is more strict on the type of asm operands, float or double
type variable should use constraint 'f', integer variable should
use constraint 'r'.

2. Fix prob of using r-value in output operands.
clang report error: 'invalid use of a cast in a inline asm context
requiring an l-value: remove the cast or build with -fheinous-gnu-extensions'.

Change-Id: Iae9e08f55f249059066c391534013e320812463e
vp8/common/mips/mmi/idctllm_mmi.c
vp8/common/mips/mmi/loopfilter_filters_mmi.c
vp8/common/mips/mmi/sixtap_filter_mmi.c
vp8/encoder/mips/mmi/dct_mmi.c
vp8/encoder/mips/mmi/vp8_quantize_mmi.c
vpx_dsp/mips/sad_mmi.c
vpx_dsp/mips/variance_mmi.c