From 97943b3c8bb6b315b4b5e676077459e20ac15bf8 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 14 Jun 2007 21:45:11 +0200 Subject: [PATCH] eqdf2.c, [...]: Update from glibc CVS. * config/soft-fp/eqdf2.c, config/soft-fp/eqsf2.c, config/soft-fp/eqtf2.c, config/soft-fp/gedf2.c, config/soft-fp/gesf2.c, config/soft-fp/getf2.c, config/soft-fp/ledf2.c, config/soft-fp/lesf2.c, config/soft-fp/letf2.c, config/soft-fp/unorddf2.c, config/soft-fp/unordsf2.c, config/soft-fp/unordtf2.c, config/soft-fp/soft-fp.h: Update from glibc CVS. From-SVN: r125719 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/soft-fp/eqdf2.c | 6 +++--- gcc/config/soft-fp/eqsf2.c | 6 +++--- gcc/config/soft-fp/eqtf2.c | 6 +++--- gcc/config/soft-fp/gedf2.c | 6 +++--- gcc/config/soft-fp/gesf2.c | 6 +++--- gcc/config/soft-fp/getf2.c | 6 +++--- gcc/config/soft-fp/ledf2.c | 6 +++--- gcc/config/soft-fp/lesf2.c | 6 +++--- gcc/config/soft-fp/letf2.c | 4 ++-- gcc/config/soft-fp/soft-fp.h | 4 ++++ gcc/config/soft-fp/unorddf2.c | 7 +++---- gcc/config/soft-fp/unordsf2.c | 7 +++---- gcc/config/soft-fp/unordtf2.c | 7 +++---- 14 files changed, 49 insertions(+), 38 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7fa30b85eb0..ae3eb37bde4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2007-06-14 Uros Bizjak + + * config/soft-fp/eqdf2.c, config/soft-fp/eqsf2.c, + config/soft-fp/eqtf2.c, config/soft-fp/gedf2.c, + config/soft-fp/gesf2.c, config/soft-fp/getf2.c, + config/soft-fp/ledf2.c, config/soft-fp/lesf2.c, + config/soft-fp/letf2.c, config/soft-fp/unorddf2.c, + config/soft-fp/unordsf2.c, config/soft-fp/unordtf2.c, + config/soft-fp/soft-fp.h: Update from glibc CVS. + 2007-06-14 Bernd Schmidt * config/bfin/uclinux.h (MFWRAP_SPEC): New. diff --git a/gcc/config/soft-fp/eqdf2.c b/gcc/config/soft-fp/eqdf2.c index efa769e986d..82a885834c0 100644 --- a/gcc/config/soft-fp/eqdf2.c +++ b/gcc/config/soft-fp/eqdf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Return 0 iff a == b, 1 otherwise - Copyright (C) 1997,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com) and Jakub Jelinek (jj@ultra.linux.cz). @@ -32,11 +32,11 @@ #include "soft-fp.h" #include "double.h" -int __eqdf2(DFtype a, DFtype b) +CMPtype __eqdf2(DFtype a, DFtype b) { FP_DECL_EX; FP_DECL_D(A); FP_DECL_D(B); - int r; + CMPtype r; FP_UNPACK_RAW_D(A, a); FP_UNPACK_RAW_D(B, b); diff --git a/gcc/config/soft-fp/eqsf2.c b/gcc/config/soft-fp/eqsf2.c index 7e01c01d2f4..0a1180f876f 100644 --- a/gcc/config/soft-fp/eqsf2.c +++ b/gcc/config/soft-fp/eqsf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Return 0 iff a == b, 1 otherwise - Copyright (C) 1997,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com) and Jakub Jelinek (jj@ultra.linux.cz). @@ -32,11 +32,11 @@ #include "soft-fp.h" #include "single.h" -int __eqsf2(SFtype a, SFtype b) +CMPtype __eqsf2(SFtype a, SFtype b) { FP_DECL_EX; FP_DECL_S(A); FP_DECL_S(B); - int r; + CMPtype r; FP_UNPACK_RAW_S(A, a); FP_UNPACK_RAW_S(B, b); diff --git a/gcc/config/soft-fp/eqtf2.c b/gcc/config/soft-fp/eqtf2.c index fd6ffd1ebef..46240b73559 100644 --- a/gcc/config/soft-fp/eqtf2.c +++ b/gcc/config/soft-fp/eqtf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Return 0 iff a == b, 1 otherwise - Copyright (C) 1997,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com) and Jakub Jelinek (jj@ultra.linux.cz). @@ -32,11 +32,11 @@ #include "soft-fp.h" #include "quad.h" -int __eqtf2(TFtype a, TFtype b) +CMPtype __eqtf2(TFtype a, TFtype b) { FP_DECL_EX; FP_DECL_Q(A); FP_DECL_Q(B); - int r; + CMPtype r; FP_UNPACK_RAW_Q(A, a); FP_UNPACK_RAW_Q(B, b); diff --git a/gcc/config/soft-fp/gedf2.c b/gcc/config/soft-fp/gedf2.c index e0dc8620eee..17a0453adce 100644 --- a/gcc/config/soft-fp/gedf2.c +++ b/gcc/config/soft-fp/gedf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Return 0 iff a == b, 1 iff a > b, -2 iff a ? b, -1 iff a < b - Copyright (C) 1997,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com) and Jakub Jelinek (jj@ultra.linux.cz). @@ -32,11 +32,11 @@ #include "soft-fp.h" #include "double.h" -int __gedf2(DFtype a, DFtype b) +CMPtype __gedf2(DFtype a, DFtype b) { FP_DECL_EX; FP_DECL_D(A); FP_DECL_D(B); - int r; + CMPtype r; FP_UNPACK_RAW_D(A, a); FP_UNPACK_RAW_D(B, b); diff --git a/gcc/config/soft-fp/gesf2.c b/gcc/config/soft-fp/gesf2.c index d1f3ba2f9f5..609a61f31dd 100644 --- a/gcc/config/soft-fp/gesf2.c +++ b/gcc/config/soft-fp/gesf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Return 0 iff a == b, 1 iff a > b, -2 iff a ? b, -1 iff a < b - Copyright (C) 1997,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com) and Jakub Jelinek (jj@ultra.linux.cz). @@ -32,11 +32,11 @@ #include "soft-fp.h" #include "single.h" -int __gesf2(SFtype a, SFtype b) +CMPtype __gesf2(SFtype a, SFtype b) { FP_DECL_EX; FP_DECL_S(A); FP_DECL_S(B); - int r; + CMPtype r; FP_UNPACK_RAW_S(A, a); FP_UNPACK_RAW_S(B, b); diff --git a/gcc/config/soft-fp/getf2.c b/gcc/config/soft-fp/getf2.c index 82ff283d0d9..eb52d05a4c5 100644 --- a/gcc/config/soft-fp/getf2.c +++ b/gcc/config/soft-fp/getf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Return 0 iff a == b, 1 iff a > b, -2 iff a ? b, -1 iff a < b - Copyright (C) 1997,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com) and Jakub Jelinek (jj@ultra.linux.cz). @@ -32,11 +32,11 @@ #include "soft-fp.h" #include "quad.h" -int __getf2(TFtype a, TFtype b) +CMPtype __getf2(TFtype a, TFtype b) { FP_DECL_EX; FP_DECL_Q(A); FP_DECL_Q(B); - int r; + CMPtype r; FP_UNPACK_RAW_Q(A, a); FP_UNPACK_RAW_Q(B, b); diff --git a/gcc/config/soft-fp/ledf2.c b/gcc/config/soft-fp/ledf2.c index 528a9819cef..b8ba4400d36 100644 --- a/gcc/config/soft-fp/ledf2.c +++ b/gcc/config/soft-fp/ledf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Return 0 iff a == b, 1 iff a > b, 2 iff a ? b, -1 iff a < b - Copyright (C) 1997,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com) and Jakub Jelinek (jj@ultra.linux.cz). @@ -32,11 +32,11 @@ #include "soft-fp.h" #include "double.h" -int __ledf2(DFtype a, DFtype b) +CMPtype __ledf2(DFtype a, DFtype b) { FP_DECL_EX; FP_DECL_D(A); FP_DECL_D(B); - int r; + CMPtype r; FP_UNPACK_RAW_D(A, a); FP_UNPACK_RAW_D(B, b); diff --git a/gcc/config/soft-fp/lesf2.c b/gcc/config/soft-fp/lesf2.c index c564bd9539e..cb359c91036 100644 --- a/gcc/config/soft-fp/lesf2.c +++ b/gcc/config/soft-fp/lesf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Return 0 iff a == b, 1 iff a > b, 2 iff a ? b, -1 iff a < b - Copyright (C) 1997,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson (rth@cygnus.com) and Jakub Jelinek (jj@ultra.linux.cz). @@ -32,11 +32,11 @@ #include "soft-fp.h" #include "single.h" -int __lesf2(SFtype a, SFtype b) +CMPtype __lesf2(SFtype a, SFtype b) { FP_DECL_EX; FP_DECL_S(A); FP_DECL_S(B); - int r; + CMPtype r; FP_UNPACK_RAW_S(A, a); FP_UNPACK_RAW_S(B, b); diff --git a/gcc/config/soft-fp/letf2.c b/gcc/config/soft-fp/letf2.c index 35e03aaacfe..01fd12b5721 100644 --- a/gcc/config/soft-fp/letf2.c +++ b/gcc/config/soft-fp/letf2.c @@ -32,11 +32,11 @@ #include "soft-fp.h" #include "quad.h" -int __letf2(TFtype a, TFtype b) +CMPtype __letf2(TFtype a, TFtype b) { FP_DECL_EX; FP_DECL_Q(A); FP_DECL_Q(B); - int r; + CMPtype r; FP_UNPACK_RAW_Q(A, a); FP_UNPACK_RAW_Q(B, b); diff --git a/gcc/config/soft-fp/soft-fp.h b/gcc/config/soft-fp/soft-fp.h index dbf080e7f48..23073573468 100644 --- a/gcc/config/soft-fp/soft-fp.h +++ b/gcc/config/soft-fp/soft-fp.h @@ -189,6 +189,10 @@ typedef unsigned int UHWtype __attribute__((mode(HI))); typedef USItype UHWtype; #endif +#ifndef CMPtype +#define CMPtype int +#endif + #define SI_BITS (__CHAR_BIT__ * (int)sizeof(SItype)) #define DI_BITS (__CHAR_BIT__ * (int)sizeof(DItype)) diff --git a/gcc/config/soft-fp/unorddf2.c b/gcc/config/soft-fp/unorddf2.c index c83a5632759..5ea63e2b976 100644 --- a/gcc/config/soft-fp/unorddf2.c +++ b/gcc/config/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); diff --git a/gcc/config/soft-fp/unordsf2.c b/gcc/config/soft-fp/unordsf2.c index 8de75635660..6d0afe853e2 100644 --- a/gcc/config/soft-fp/unordsf2.c +++ b/gcc/config/soft-fp/unordsf2.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,12 +31,11 @@ #include "soft-fp.h" #include "single.h" -int -__unordsf2(SFtype a, SFtype b) +CMPtype __unordsf2(SFtype a, SFtype b) { FP_DECL_S(A); FP_DECL_S(B); - int r; + CMPtype r; FP_UNPACK_RAW_S(A, a); FP_UNPACK_RAW_S(B, b); diff --git a/gcc/config/soft-fp/unordtf2.c b/gcc/config/soft-fp/unordtf2.c index 134b1d09b8a..9d1bd916c81 100644 --- a/gcc/config/soft-fp/unordtf2.c +++ b/gcc/config/soft-fp/unordtf2.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,12 +31,11 @@ #include "soft-fp.h" #include "quad.h" -int -__unordtf2(TFtype a, TFtype b) +CMPtype __unordtf2(TFtype a, TFtype b) { FP_DECL_Q(A); FP_DECL_Q(B); - int r; + CMPtype r; FP_UNPACK_RAW_Q(A, a); FP_UNPACK_RAW_Q(B, b); -- 2.30.2