linux/arch/nds32/kernel
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
..
vdso nds32: Fix vDSO clock_getres() 2019-05-16 15:07:08 +08:00
.gitignore nds32: add vmlinux.lds and vdso.so to .gitignore 2019-05-07 17:52:09 +08:00
asm-offsets.c
atl2c.c nds32: add NULL entry to the end of_device_id array 2018-09-04 14:45:15 +08:00
cacheinfo.c nds32: fix semicolon code style issue 2019-05-07 17:52:10 +08:00
devtree.c nds32: Device tree support 2018-02-22 10:44:34 +08:00
dma.c nds32: use generic dma_noncoherent_ops 2018-05-29 16:10:32 +02:00
ex-entry.S nds32: nds32 FPU port 2018-11-22 18:13:13 +08:00
ex-exit.S nds32: ex-exit: Remove unneeded need_resched() loop 2019-05-07 17:52:09 +08:00
ex-scall.S nds32: nds32 FPU port 2018-11-22 18:13:13 +08:00
fpu.c nds32: Avoid IEX status being incorrectly modified 2019-05-31 15:23:26 +08:00
ftrace.c function_graph: Place ftrace_graph_entry_stub() prototype in include/linux/ftrace.h 2019-04-29 17:17:22 -04:00
head.S treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
irq.c nds32: IRQ handling 2018-02-22 10:44:32 +08:00
Makefile nds32: nds32 FPU port 2018-11-22 18:13:13 +08:00
module.c nds32: fix logic for module 2018-09-04 14:45:15 +08:00
nds32_ksyms.c nds32: don't export low-level cache flushing routines 2019-05-16 14:40:26 +08:00
perf_event_cpu.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
pm.c nds32: Remove duplicated include from pm.c 2018-11-06 18:01:41 +08:00
process.c get rid of legacy 'get_ds()' function 2019-03-04 10:50:14 -08:00
ptrace.c nds32: Debugging support 2018-02-22 10:44:34 +08:00
setup.c nds32: support hardware prefetcher 2018-11-22 18:13:51 +08:00
signal.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
sleep.S nds32: nds32 FPU port 2018-11-22 18:13:13 +08:00
stacktrace.c nds32: Add macro definition for offset of lp register on stack 2018-09-04 14:45:19 +08:00
sys_nds32.c nds32: Avoid IEX status being incorrectly modified 2019-05-31 15:23:26 +08:00
syscall_table.c nds32: System calls handling 2018-02-22 10:44:33 +08:00
time.c nds32: Generic timers support 2018-02-22 10:44:34 +08:00
traps.c nds32: nds32 FPU port 2018-11-22 18:13:13 +08:00
vdso.c nds32: Fix vDSO clock_getres() 2019-05-16 15:07:08 +08:00
vmlinux.lds.S nds32: linker script: GCOV kernel may refers data in __exit 2018-09-05 10:16:26 +08:00