kernel_optimize_test/arch/mips/math-emu
Jiaxun Yang ece276de2a
MIPS: Add MAC2008 Support
MAC2008 means the processor implemented IEEE754 style Fused MADD
instruction. It was introduced in Release3 but removed in Release5.

The toolchain support of MAC2008 have never landed except for Loongson
processors.

This patch aimed to disabled the MAC2008 if it's optional. For
MAC2008 only processors, we corrected math-emu behavior to align
with actual hardware behavior.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
[paulburton@kernel.org: Fixup MIPSr2-r5 check in cpu_set_fpu_2008.]
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: chenhc@lemote.com
Cc: paul.burton@mips.com
Cc: linux-kernel@vger.kernel.org
2020-01-22 15:56:08 -08:00
..
cp1emu.c MIPS: Add MAC2008 Support 2020-01-22 15:56:08 -08:00
dp_2008class.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454 2019-06-19 17:09:09 +02:00
dp_add.c
dp_cmp.c
dp_div.c
dp_fint.c
dp_flong.c
dp_fmax.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454 2019-06-19 17:09:09 +02:00
dp_fmin.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454 2019-06-19 17:09:09 +02:00
dp_fsp.c
dp_maddf.c MIPS: Add MAC2008 Support 2020-01-22 15:56:08 -08:00
dp_mul.c
dp_rint.c
dp_simple.c
dp_sqrt.c
dp_sub.c
dp_tint.c
dp_tlong.c
dsemul.c
ieee754.c
ieee754.h MIPS: Add MAC2008 Support 2020-01-22 15:56:08 -08:00
ieee754d.c
ieee754dp.c
ieee754dp.h
ieee754int.h MIPS: Add MAC2008 Support 2020-01-22 15:56:08 -08:00
ieee754sp.c
ieee754sp.h
Makefile
me-debugfs.c MIPS: math-emu: Reuse name array in debugfs_fpuemu() 2019-11-11 10:56:14 -08:00
sp_2008class.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454 2019-06-19 17:09:09 +02:00
sp_add.c
sp_cmp.c
sp_div.c
sp_fdp.c
sp_fint.c
sp_flong.c
sp_fmax.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454 2019-06-19 17:09:09 +02:00
sp_fmin.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454 2019-06-19 17:09:09 +02:00
sp_maddf.c MIPS: Add MAC2008 Support 2020-01-22 15:56:08 -08:00
sp_mul.c
sp_rint.c
sp_simple.c
sp_sqrt.c
sp_sub.c
sp_tint.c
sp_tlong.c