linux/arch/nds32
Vincent Chen ed32949e0a nds32: Avoid IEX status being incorrectly modified
In order for kernel to capture each denormalized output, the UDF
trapping enable bit is always raised in $fpcsr. Because underflow case will
issue not an underflow exception but also an inexact exception, it causes
that the IEX, IEX cumulative exception, flag in $fpcsr to be raised in each
denormalized output handling. To make the emulation transparent to the
user, the emulator needs to clear the IEX flag in $fpcsr if the result is a
denormalized number. However, if the IEX flag has been raised before this
floating point emulation, this cleanup may be incorrect. To avoid the IEX
flags in $fpcsr be raised in each denormalized output handling, the IEX
trap shall be always enabled.

Signed-off-by: Vincent Chen <vincentc@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
2019-05-31 15:23:26 +08:00
..
boot nds32: Perf porting 2018-11-06 18:01:40 +08:00
configs fscrypt: remove filesystem specific build config option 2019-01-23 23:56:43 -05:00
include nds32: Avoid IEX status being incorrectly modified 2019-05-31 15:23:26 +08:00
kernel nds32: Avoid IEX status being incorrectly modified 2019-05-31 15:23:26 +08:00
lib nds32: Fix the symbols undefined issue by exporting them. 2018-05-23 13:26:20 +08:00
math-emu nds32: support denormalized result through FP emulator 2018-11-22 18:13:27 +08:00
mm nds32 patches for 5.2-rc1 2019-05-17 10:17:29 -07:00
Kconfig nds32 patches for 5.2-rc1 2019-05-17 10:17:29 -07:00
Kconfig.cpu nds32: support hardware prefetcher 2018-11-22 18:13:51 +08:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile nds32: remove unneeded code in arch/nds32/Makefile 2019-01-17 23:42:37 +09:00