commit | 102016020bb0f368958ae91d293e13c61b3923a1 | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Fri Jan 14 20:39:17 2011 +0100 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Fri Jan 14 20:39:17 2011 +0100 |
tree | 0c6d0006ce608f597bc169951b4658d3d710c635 | |
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>