summaryrefslogtreecommitdiff
path: root/arch/nds32/include/asm/fpu.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-06-03 20:23:41 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-06-03 20:23:41 +0300
commit30d1d92a888d03681b927c76a35181b4eed7071f (patch)
tree8a1d452bd9c13d9edaa8f86ff9355f663ea9ec55 /arch/nds32/include/asm/fpu.h
parent01e7a841b4346836f19b40677e1fef4657cc0d0d (diff)
parent932296120543149e3397af252e7daee7af37eb05 (diff)
downloadlinux-30d1d92a888d03681b927c76a35181b4eed7071f.tar.xz
Merge tag 'nds32-for-linux-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux
Pull nds32 fixes from Greentime Hu: - fix warning for math-emu - fix nds32 fpu exception handling - fix nds32 fpu emulation implementation * tag 'nds32-for-linux-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/greentime/linux: nds32: add new emulations for floating point instruction nds32: Avoid IEX status being incorrectly modified math-emu: Use statement expressions to fix Wshift-count-overflow warning
Diffstat (limited to 'arch/nds32/include/asm/fpu.h')
-rw-r--r--arch/nds32/include/asm/fpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/include/asm/fpu.h b/arch/nds32/include/asm/fpu.h
index 019f1bcfc5ee..8294ed4aaa2c 100644
--- a/arch/nds32/include/asm/fpu.h
+++ b/arch/nds32/include/asm/fpu.h
@@ -36,7 +36,7 @@ extern int do_fpuemu(struct pt_regs *regs, struct fpu_struct *fpu);
* enabled by default and kerenl will re-execute it by fpu emulator
* when getting underflow exception.
*/
-#define FPCSR_INIT FPCSR_mskUDFE
+#define FPCSR_INIT (FPCSR_mskUDFE | FPCSR_mskIEXE)
#else
#define FPCSR_INIT 0x0UL
#endif