eqdf2.c, [...]: Update from glibc CVS.
authorUros Bizjak <ubizjak@gmail.com>
Thu, 14 Jun 2007 19:45:11 +0000 (21:45 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 14 Jun 2007 19:45:11 +0000 (21:45 +0200)
        * 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

14 files changed:
gcc/ChangeLog
gcc/config/soft-fp/eqdf2.c
gcc/config/soft-fp/eqsf2.c
gcc/config/soft-fp/eqtf2.c
gcc/config/soft-fp/gedf2.c
gcc/config/soft-fp/gesf2.c
gcc/config/soft-fp/getf2.c
gcc/config/soft-fp/ledf2.c
gcc/config/soft-fp/lesf2.c
gcc/config/soft-fp/letf2.c
gcc/config/soft-fp/soft-fp.h
gcc/config/soft-fp/unorddf2.c
gcc/config/soft-fp/unordsf2.c
gcc/config/soft-fp/unordtf2.c

index 7fa30b85eb0ab3f1d98485c1df3b9defb01ebf83..ae3eb37bde4d09bfaa9d4e3ddf00a07a4e4fd480 100644 (file)
@@ -1,3 +1,13 @@
+2007-06-14  Uros Bizjak  <ubizjak@gmail.com>
+
+       * 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  <bernd.schmidt@analog.com>
 
        * config/bfin/uclinux.h (MFWRAP_SPEC): New.
index efa769e986dd8217e38f404ea149daacc09ccbdd..82a885834c0b7315251f38118fd8fd30bc3029cd 100644 (file)
@@ -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).
 #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);
index 7e01c01d2f4a32d6df3ca169a76d5355f86e24b0..0a1180f876f429d7b82cc186212df1e117c200b9 100644 (file)
@@ -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).
 #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);
index fd6ffd1ebefd9c367baec16274253288adfafbdb..46240b73559943a65f883dec2be2645c071d5623 100644 (file)
@@ -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).
 #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);
index e0dc8620eeea2dc68db82af3bc6e4879cac9a711..17a0453adce778b780ce5c49bdbe44b9a916efbe 100644 (file)
@@ -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).
 #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);
index d1f3ba2f9f5a18d9236f228552d4c87356371aff..609a61f31dd34c3fb35e8312ed8272019aec9c98 100644 (file)
@@ -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).
 #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);
index 82ff283d0d9bc4ba47a8786a9977ca874ced8ecd..eb52d05a4c5dd1e9989f1ec16b04103b099559c0 100644 (file)
@@ -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).
 #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);
index 528a9819cef833cbb57ea2f27d56ebe62e68765f..b8ba4400d36c280bd630cef6e54075ec23c0f311 100644 (file)
@@ -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).
 #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);
index c564bd9539e27197ad9c59561e3e2cf4c359cf78..cb359c91036886c043cc6621be2c71ee7467cdba 100644 (file)
@@ -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).
 #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);
index 35e03aaacfedf7cef94db74d10fa5e41e407bc91..01fd12b5721417ba4f9e7add45302956828ab3f1 100644 (file)
 #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);
index dbf080e7f489a827f2387eb8c8fa5d2670193671..2307357346898b2f2c44336a5a0a3522a9086f18 100644 (file)
@@ -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))
 
index c83a56327591077f09264fbaa2b890bcb7895d75..5ea63e2b9765212f43e3fb345803e88bd4434227 100644 (file)
@@ -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).
 
 #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);
index 8de75635660ca05790ffdd9bf915b3d6e6a46549..6d0afe853e29c07043adecc5e8f48f164d571b7e 100644 (file)
@@ -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).
 
 #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);
index 134b1d09b8a16fad7c1dc454b09b35f106ea3ec6..9d1bd916c81e927cb4c3ca9339c7f5eec04adda9 100644 (file)
@@ -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).
 
 #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);