diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-14 20:39:17 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-14 20:39:17 +0100 |
commit | 102016020bb0f368958ae91d293e13c61b3923a1 (patch) | |
tree | 0c6d0006ce608f597bc169951b4658d3d710c635 /target-sh4 | |
parent | e90877507ea8864e32692cb79da1685f5ada8c78 (diff) |
softfloat: fix default-NaN mode
When the default-NaN mode is enabled, it should return the default NaN
value, but it should anyway raise the invalid operation flag if one of
the operand is an sNaN.
I have checked that this behavior matches the ARM and SH4 manuals, as
well as real SH4 hardware.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-sh4')
0 files changed, 0 insertions, 0 deletions