mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* 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 <ubizjak@gmail.com> * 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.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* Software floating-point emulation.
|
||||
Copyright (C) 1997,1998,1999,2000,2002,2003,2005,2006
|
||||
Copyright (C) 1997,1998,1999,2000,2002,2003,2005,2006,2007
|
||||
Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Richard Henderson (rth@cygnus.com),
|
||||
@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user