Set the NaN propagation rule explicitly for the float_status words
used in the x86 target.
This is a no-behaviour-change commit, so we retain the existing
behaviour of using the x87-style "prefer QNaN over SNaN, then prefer
the NaN with the larger significand" for MMX and SSE. This is
however not the documented hardware behaviour, so we leave a TODO
note about what we should be doing instead.
Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
target/i386/cpu.h | 3 +++
target/i386/cpu.c | 4 ++++
target/i386/tcg/fpu_helper.c | 40 ++++++++++++++++++++++++++++++++++
fpu/softfloat-specialize.c.inc | 3 ++-
4 files changed, 49 insertions(+), 1 deletion(-)