[GIT PULL] nds32 patches for 5.2-rc3

From: Greentime Hu
Date: Mon Jun 03 2019 - 10:03:08 EST


Hi Linus,

The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

are available in the Git repository at:

ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/greentime/linux.git
tags/nds32-for-linux-5.2-rc3

for you to fetch changes up to 932296120543149e3397af252e7daee7af37eb05:

nds32: add new emulations for floating point instruction (2019-05-31
15:23:26 +0800)

----------------------------------------------------------------
nds32 patches for 5.2-rc3

Here is the nds32 patchset based on 5.2-rc1
Contained in here are
1. fix warning for math-emu
2. fix nds32 fpu exception handling
3. fix nds32 fpu emulation implementation

----------------------------------------------------------------
Vincent Chen (3):
math-emu: Use statement expressions to fix Wshift-count-overflow warning
nds32: Avoid IEX status being incorrectly modified
nds32: add new emulations for floating point instruction

arch/nds32/include/asm/bitfield.h | 2 +-
arch/nds32/include/asm/fpu.h | 2 +-
arch/nds32/include/asm/fpuemu.h | 12 ++++++++++++
arch/nds32/include/asm/syscalls.h | 2 +-
arch/nds32/include/uapi/asm/fp_udfiex_crtl.h | 16 ++++++++++++++++
arch/nds32/include/uapi/asm/sigcontext.h | 24 +++++++++++++++++-------
arch/nds32/include/uapi/asm/udftrap.h | 13 -------------
arch/nds32/include/uapi/asm/unistd.h | 4 ++--
arch/nds32/kernel/fpu.c | 15 ++++++---------
arch/nds32/kernel/sys_nds32.c | 26 ++++++++++++++------------
arch/nds32/math-emu/Makefile | 4 +++-
arch/nds32/math-emu/fd2si.c | 30
++++++++++++++++++++++++++++++
arch/nds32/math-emu/fd2siz.c | 30
++++++++++++++++++++++++++++++
arch/nds32/math-emu/fd2ui.c | 30
++++++++++++++++++++++++++++++
arch/nds32/math-emu/fd2uiz.c | 30
++++++++++++++++++++++++++++++
arch/nds32/math-emu/fpuemu.c | 57
+++++++++++++++++++++++++++++++++++++++++++++++++++++----
arch/nds32/math-emu/fs2si.c | 29 +++++++++++++++++++++++++++++
arch/nds32/math-emu/fs2siz.c | 29 +++++++++++++++++++++++++++++
arch/nds32/math-emu/fs2ui.c | 29 +++++++++++++++++++++++++++++
arch/nds32/math-emu/fs2uiz.c | 30
++++++++++++++++++++++++++++++
arch/nds32/math-emu/fsi2d.c | 22 ++++++++++++++++++++++
arch/nds32/math-emu/fsi2s.c | 22 ++++++++++++++++++++++
arch/nds32/math-emu/fui2d.c | 22 ++++++++++++++++++++++
arch/nds32/math-emu/fui2s.c | 22 ++++++++++++++++++++++
include/math-emu/op-2.h | 17 +++++++----------
include/math-emu/op-common.h | 11 ++++++-----
26 files changed, 464 insertions(+), 66 deletions(-)
create mode 100644 arch/nds32/include/uapi/asm/fp_udfiex_crtl.h
delete mode 100644 arch/nds32/include/uapi/asm/udftrap.h
create mode 100644 arch/nds32/math-emu/fd2si.c
create mode 100644 arch/nds32/math-emu/fd2siz.c
create mode 100644 arch/nds32/math-emu/fd2ui.c
create mode 100644 arch/nds32/math-emu/fd2uiz.c
create mode 100644 arch/nds32/math-emu/fs2si.c
create mode 100644 arch/nds32/math-emu/fs2siz.c
create mode 100644 arch/nds32/math-emu/fs2ui.c
create mode 100644 arch/nds32/math-emu/fs2uiz.c
create mode 100644 arch/nds32/math-emu/fsi2d.c
create mode 100644 arch/nds32/math-emu/fsi2s.c
create mode 100644 arch/nds32/math-emu/fui2d.c
create mode 100644 arch/nds32/math-emu/fui2s.c