Searched hist:"01 c9ccee3c3051d0a37af9af2938a15a06448964" (Results 1 – 1 of 1) sorted by relevance
/linux/arch/powerpc/math-emu/ |
H A D | math_efp.c | diff 01c9ccee3c3051d0a37af9af2938a15a06448964 Mon Nov 04 17:55:05 CET 2013 Joseph Myers <joseph@codesourcery.com> powerpc: fix e500 SPE float SIGFPE generation
The e500 SPE floating-point emulation code is called from SPEFloatingPointException and SPEFloatingPointRoundException in arch/powerpc/kernel/traps.c. Those functions have support for generating SIGFPE, but do_spe_mathemu and speround_handler don't generate a return value to indicate that this should be done. Such a return value should depend on whether an exception is raised that has been set via prctl to generate SIGFPE. This patch adds the relevant logic in these functions so that SIGFPE is generated as expected by the glibc testsuite.
Signed-off-by: Joseph Myers <joseph@codesourcery.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
|