[PATCH 0/6] MIPS: math-emu: FP emulation fixes and improvements

From: Aleksandar Markovic
Date: Fri Aug 18 2017 - 09:18:50 EST


From: Aleksandar Markovic <aleksandar.markovic@xxxxxxxxxx>

This series includes:

- a fix for certain SIGILL program crashes on issuing a valid
CMP instruction
- a fix for RINT emulation inaccuracies
- a fix for the output of CLASS.D instruction emulation
- several FP emulation debugfs statistics improvements

The patches in this series are logically and physically
independent on the patches previously sent in "Misc" series.
This means that these two series can be applied independently,
in any order.

The script "checkpatch --strict" returns a check and a warning
iff aplied on the patch 6. However, they are unavoidable if the
code is to be kept consistent in the file me-debugfs.c.

Aleksandar Markovic (6):
MIPS: math-emu: CMP.Sxxx.<D|S>: Prevent occurences of SIGILL crashes
MIPS: math-emu: RINT.<D|S>: Fix several problems by reimplementation
MIPS: math-emu: CLASS.D: Zero bits 32-63 of the result
MIPS: math-emu: Add FP emu debugfs statistics for branches
MIPS: math-emu: Add FP emu debugfs reset functionality
MIPS: math-emu: Add FP emu debugfs stats for individual instructions

MAINTAINERS | 7 +
arch/mips/include/asm/fpu_emulator.h | 116 +++++++++++++
arch/mips/math-emu/Makefile | 6 +-
arch/mips/math-emu/cp1emu.c | 272 +++++++++++++++++++++++++++++-
arch/mips/math-emu/dp_rint.c | 89 ++++++++++
arch/mips/math-emu/ieee754.h | 2 +
arch/mips/math-emu/me-debugfs.c | 318 ++++++++++++++++++++++++++++++++++-
arch/mips/math-emu/sp_rint.c | 90 ++++++++++
8 files changed, 888 insertions(+), 12 deletions(-)
create mode 100644 arch/mips/math-emu/dp_rint.c
create mode 100644 arch/mips/math-emu/sp_rint.c

--
2.7.4