diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2010-12-17 15:56:06 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-02 11:15:25 +0100 |
commit | 185698715dfb18c82ad2a5dbc169908602d43e81 (patch) | |
tree | 201b9e506ce6a3906bba99cbab4a88899541fd73 /target-alpha | |
parent | f96a38347a0c6ab31fbb6200c13e684d1fee449c (diff) | |
download | qemu-185698715dfb18c82ad2a5dbc169908602d43e81.tar.gz qemu-185698715dfb18c82ad2a5dbc169908602d43e81.tar.bz2 qemu-185698715dfb18c82ad2a5dbc169908602d43e81.zip |
softfloat: Rename float*_is_nan() functions to float*_is_quiet_nan()
The softfloat functions float*_is_nan() were badly misnamed,
because they return true only for quiet NaNs, not for all NaNs.
Rename them to float*_is_quiet_nan() to more accurately reflect
what they do.
This change was produced by:
perl -p -i -e 's/_is_nan/_is_quiet_nan/g' $(git grep -l is_nan)
(with the results manually checked.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Nathan Froyd <froydnj@codesourcery.com>
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-alpha')
-rw-r--r-- | target-alpha/op_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index ff5ae26abe..6c2ae2061f 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -904,7 +904,7 @@ uint64_t helper_cmptun (uint64_t a, uint64_t b) fa = t_to_float64(a); fb = t_to_float64(b); - if (float64_is_nan(fa) || float64_is_nan(fb)) + if (float64_is_quiet_nan(fa) || float64_is_quiet_nan(fb)) return 0x4000000000000000ULL; else return 0; |