target-arm: Set Invalid flag for NaN in float-to-int conversions
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Apr 2011 16:30:55 +0000 (17:30 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 20 Apr 2011 11:01:05 +0000 (13:01 +0200)
commitec444452b8753a372de30b22d9b4765a799db612
tree8f3951aeafd37460a944f227470e087cd50312c9
parent756ba3b0127fea2bfb538d256c76f19aec126732
target-arm: Set Invalid flag for NaN in float-to-int conversions

When we catch the special case of an input NaN in ARM float to int
helper functions, set the Invalid flag as well as returning the
correct result.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/helper.c