Refine MMI & MSA detection for mips
authorjinbo <jinbo-hf@loongson.cn>
Sat, 15 Aug 2020 09:20:36 +0000 (17:20 +0800)
committerjinbo <jinbo-hf@loongson.cn>
Tue, 18 Aug 2020 23:57:21 +0000 (07:57 +0800)
commitea6562f2fcd8ea6baa946eaad69cbb5aec5dd278
tree64e1f0ad6c30e8f303e8beb7af9d5d13d092707d
parent529c29bb0f6511a9b3e25177cece0d843827458b
Refine MMI & MSA detection for mips

1.Add compile check to probe the native ability of
toolchain to decide whether a feature can be enabled.
2.Add runtime check to probe cpu supported features.
MSA will be prefered if MSA and MMI are both supported.
3.You can configure and build as following commands:
./configure --cpu=loongson3a && make -j4

Change-Id: I057553216dbc79cfaba9c691d5f4cdab144e1123
build/make/Makefile
build/make/configure.sh
build/make/rtcd.pl
vp8/common/generic/systemdependent.c
vpx_ports/mips.h [new file with mode: 0644]
vpx_ports/mips_cpudetect.c [new file with mode: 0644]
vpx_ports/vpx_ports.mk