The PowerPC CPU has a lot more precise FPU exception than the IEEE754 specifications. 7 independant exceptions corresponding to the invalid exception IEEE754. They are currently not implemented in softfloat code, though they are detected to compute the result, that's why the target-ppc code checks for the operands before calling the softfloat code.
This patch series fixes some issues with the FPU emulation, though the long term solution is to implement the various flags in the softfloat code, and rely to compute the result. Aurelien Jarno (3): target-ppc: remove PRECISE_EMULATION define target-ppc: fix default qNaN target-ppc: fix sNaN propagation target-ppc/exec.h | 3 - target-ppc/op_helper.c | 203 +++++++++++++++++++++--------------------------- 2 files changed, 88 insertions(+), 118 deletions(-) -- 1.7.2.3