From 185698715dfb18c82ad2a5dbc169908602d43e81 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 17 Dec 2010 15:56:06 +0000 Subject: 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 Reviewed-by: Nathan Froyd Acked-by: Edgar E. Iglesias Signed-off-by: Aurelien Jarno --- target-microblaze/op_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-microblaze/op_helper.c') diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c index 3d2b313..97461ae 100644 --- a/target-microblaze/op_helper.c +++ b/target-microblaze/op_helper.c @@ -308,7 +308,7 @@ uint32_t helper_fcmp_un(uint32_t a, uint32_t b) r = 1; } - if (float32_is_nan(fa.f) || float32_is_nan(fb.f)) { + if (float32_is_quiet_nan(fa.f) || float32_is_quiet_nan(fb.f)) { r = 1; } -- cgit v1.1