commit | 354f211b1a49a7387929e22d6e63849fcba48f8a | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Thu Dec 16 11:51:17 2010 +0000 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sun Jan 02 23:58:57 2011 +0100 |
tree | 7aebf4c50edb02147a2164ae038659f17c65cf28 | |
parent | 185698715dfb18c82ad2a5dbc169908602d43e81 [diff] |
softfloat: abstract out target-specific NaN propagation rules IEEE754 doesn't specify precisely what NaN should be returned as the result of an operation on two input NaNs. This is therefore target-specific. Abstract out the code in propagateFloat*NaN() which was implementing the x87 propagation rules, so that it can be easily replaced on a per-target basis. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>