linux_dsm_epyc7002/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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_cmp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_div.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_fint.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_flong.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_maddf.c MIPS: Add MAC2008 Support 2020-01-22 15:56:08 -08:00
dp_mul.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_rint.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 309 2019-06-05 17:37:04 +02:00
dp_simple.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_sqrt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_sub.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_tint.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dp_tlong.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
dsemul.c MIPS: math-emu: Write-protect delay slot emulation pages 2018-12-20 10:00:01 -08:00
ieee754.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
ieee754.h MIPS: Add MAC2008 Support 2020-01-22 15:56:08 -08:00
ieee754d.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
ieee754dp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
ieee754dp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
ieee754int.h MIPS: Add MAC2008 Support 2020-01-22 15:56:08 -08:00
ieee754sp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
ieee754sp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_cmp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_div.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_fdp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_fint.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_flong.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_rint.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 309 2019-06-05 17:37:04 +02:00
sp_simple.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_sqrt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_sub.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_tint.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00
sp_tlong.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 397 2019-06-05 17:37:12 +02:00