diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2010-12-07 15:37:34 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2010-12-07 15:37:34 +0000 |
commit | 09d9487fbb5c17226762e73c2b7d84170f5bd092 (patch) | |
tree | 328a1ea37a3bdc3a1f1d32035af6c19a7bb205a2 /fpu/softfloat-specialize.h | |
parent | 21d6ebde76e9e7a89f5d2100816aac920cae109c (diff) |
ARM: Return correct result for float-to-integer conversion of NaN
The ARM architecture mandates that converting a NaN value to
integer gives zero (if Invalid Operation FP exceptions are
not being trapped). This isn't the behaviour of the SoftFloat
library, so NaNs must be special-cased.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Nathan Froyd <froydnj@codesourcery.com>
Diffstat (limited to 'fpu/softfloat-specialize.h')
0 files changed, 0 insertions, 0 deletions