Messages in this thread | | | From | Aleksandar Markovic <> | Subject | [PATCH v3 0/8] MIPS: Misc FPU emulation fixes | Date | Thu, 2 Nov 2017 12:13:57 +0100 |
| |
From: Aleksandar Markovic <aleksandar.markovic@mips.com>
v2->v3:
- further improved commit message of patch 1 - minor adjustment to patch 2 - added six new, mostly minor, patches - rebased to the latest code
v1->v2:
- clarify effects of patch 1 in its commit message - marked patch 1 as "stable #4.3+" - replaced "Minor" with "Misc" in the series title and cover letter
This series contains twelwe misc FPU emulation patches that were not included into a recent larger series of FPU fixes, mainly not to additionally burden already complex set of patches.
Only the first patch changes functionality.
The remaining ones are just cosmetic changes - they just clean the code, making it easier to read, debug and maintain, and, by doing this, hopefully prevent future bugs. They remove a number of checkpatch and sparse warnings as well.
Aleksandar Markovic (8): MIPS: math-emu: Fix final emulation phase for certain instructions MIPS: math-emu: Use preferred flavor of unsigned integer declarations MIPS: math-emu: Remove an unnecessary header inclusion MIPS: math-emu: Avoid definition duplication for macro DPXMULT() MIPS: math-emu: Declare function srl128() as static MIPS: math-emu: Avoid an assignment within if statement condition MIPS: math-emu: Avoid multiple assignment MIPS: math-emu: Mark fall throughs in switch statements with a comment
arch/mips/math-emu/cp1emu.c | 74 ++++++++++++++++++++++++----------------- arch/mips/math-emu/dp_add.c | 3 +- arch/mips/math-emu/dp_div.c | 1 + arch/mips/math-emu/dp_fmax.c | 2 ++ arch/mips/math-emu/dp_fmin.c | 2 ++ arch/mips/math-emu/dp_maddf.c | 16 ++++----- arch/mips/math-emu/dp_mul.c | 12 +++---- arch/mips/math-emu/dp_sqrt.c | 12 ++++--- arch/mips/math-emu/dp_sub.c | 2 +- arch/mips/math-emu/ieee754.h | 15 +++++---- arch/mips/math-emu/ieee754dp.h | 3 ++ arch/mips/math-emu/ieee754int.h | 6 ++-- arch/mips/math-emu/ieee754sp.c | 4 +-- arch/mips/math-emu/ieee754sp.h | 2 +- arch/mips/math-emu/sp_add.c | 3 +- arch/mips/math-emu/sp_div.c | 5 +-- arch/mips/math-emu/sp_fdp.c | 3 +- arch/mips/math-emu/sp_fint.c | 2 +- arch/mips/math-emu/sp_fmax.c | 2 ++ arch/mips/math-emu/sp_fmin.c | 2 ++ arch/mips/math-emu/sp_maddf.c | 9 ++--- arch/mips/math-emu/sp_mul.c | 11 +++--- arch/mips/math-emu/sp_sqrt.c | 3 +- arch/mips/math-emu/sp_sub.c | 1 + arch/mips/math-emu/sp_tlong.c | 1 - 25 files changed, 111 insertions(+), 85 deletions(-)
-- 2.7.4
| |