[lkml]   [2017]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/6] MIPS: math-emu: FP emulation fixes and improvements
From: Aleksandar Markovic <>

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

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


 \ /
  Last update: 2017-08-18 15:20    [W:0.032 / U:0.428 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site