X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libgcc%2Fsoft-fp%2Ffixunssfdi.c;h=18ca264047e58f53f2f26d62bb14ac948dec3af4;hb=HEAD;hp=5484153837282fcd510215f7dc1dc0c61ce01b6c;hpb=aca0b0b315f6e5a0ee60981fd4b0cbc9a7f59096;p=gcc.git diff --git a/libgcc/soft-fp/fixunssfdi.c b/libgcc/soft-fp/fixunssfdi.c index 54841538372..18ca264047e 100644 --- a/libgcc/soft-fp/fixunssfdi.c +++ b/libgcc/soft-fp/fixunssfdi.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Convert a to 64bit unsigned integer - Copyright (C) 1997,1999,2006 Free Software Foundation, Inc. + Copyright (C) 1997-2019 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). @@ -25,21 +25,22 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, 51 Franklin Street, Fifth Floor, Boston, - MA 02110-1301, USA. */ + License along with the GNU C Library; if not, see + . */ #include "soft-fp.h" #include "single.h" -UDItype __fixunssfdi(SFtype a) +UDItype +__fixunssfdi (SFtype a) { FP_DECL_EX; - FP_DECL_S(A); + FP_DECL_S (A); UDItype r; - FP_UNPACK_RAW_S(A, a); - FP_TO_INT_S(r, A, DI_BITS, 0); + FP_INIT_EXCEPTIONS; + FP_UNPACK_RAW_S (A, a); + FP_TO_INT_S (r, A, DI_BITS, 0); FP_HANDLE_EXCEPTIONS; return r;