From ae8e81f5969cf8a7e203501b7997d307bc0d06e7 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 14 Jun 2007 19:21:34 +0000 Subject: * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int as the return type. Change type of "r" variable to CMPtype. * soft-fp/eqsf2.c (__eqsf2): Likewise. * soft-fp/eqtf2.c (__eqtf2): Likewise. * soft-fp/gedf2.c (__gedf2): Likewise. * soft-fp/gesf2.c (__gesf2): Likewise. * soft-fp/getf2.c (__getf2): Likewise. * soft-fp/ledf2.c (__ledf2): Likewise. * soft-fp/lesf2.c (__lesf2): Likewise. * soft-fp/letf2.c (__letf2): Likewise. * soft-fp/unorddf2 (__unorddf2): Likewise. * soft-fp/unordsf2 (__unordsf2): Likewise. * soft-fp/unordtf2 (__unordtf2): Likewise. 2007-06-14 Uros Bizjak * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int as the return type. Change type of "r" variable to CMPtype. * soft-fp/eqsf2.c (__eqsf2): Likewise. * soft-fp/eqtf2.c (__eqtf2): Likewise. * soft-fp/gedf2.c (__gedf2): Likewise. * soft-fp/gesf2.c (__gesf2): Likewise. * soft-fp/getf2.c (__getf2): Likewise. * soft-fp/ledf2.c (__ledf2): Likewise. * soft-fp/lesf2.c (__lesf2): Likewise. * soft-fp/letf2.c (__letf2): Likewise. * soft-fp/unorddf2 (__unorddf2): Likewise. * soft-fp/unordsf2 (__unordsf2): Likewise. * soft-fp/unordtf2 (__unordtf2): Likewise. --- soft-fp/unorddf2.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'soft-fp/unorddf2.c') diff --git a/soft-fp/unorddf2.c b/soft-fp/unorddf2.c index c83a563275..5ea63e2b97 100644 --- a/soft-fp/unorddf2.c +++ b/soft-fp/unorddf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Return 1 iff a or b is a NaN, 0 otherwise. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Joseph Myers (joseph@codesourcery.com). @@ -31,11 +31,10 @@ #include "soft-fp.h" #include "double.h" -int -__unorddf2(DFtype a, DFtype b) +CMPtype __unorddf2(DFtype a, DFtype b) { FP_DECL_D(A); FP_DECL_D(B); - int r; + CMPtype r; FP_UNPACK_RAW_D(A, a); FP_UNPACK_RAW_D(B, b); -- cgit v1.2.1