X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libgcc%2Fsoft-fp%2Ffloatunditf.c;h=ba5b5c54d5a174b59faca24a38680bbe2d1081c9;hb=6c2675fa2bbcfe37308af593edb18e2c1c8eabf0;hp=ab357f051c330d6343bc12f461aea701bd97942a;hpb=aca0b0b315f6e5a0ee60981fd4b0cbc9a7f59096;p=gcc.git diff --git a/libgcc/soft-fp/floatunditf.c b/libgcc/soft-fp/floatunditf.c index ab357f051c3..ba5b5c54d5a 100644 --- a/libgcc/soft-fp/floatunditf.c +++ b/libgcc/soft-fp/floatunditf.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Convert a 64bit unsigned integer to IEEE quad - 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,23 +25,21 @@ 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 + . */ +#define FP_NO_EXCEPTIONS #include "soft-fp.h" #include "quad.h" TFtype -__floatunditf(UDItype i) +__floatunditf (UDItype i) { - FP_DECL_EX; - FP_DECL_Q(A); + FP_DECL_Q (A); TFtype a; - FP_FROM_INT_Q(A, i, DI_BITS, UDItype); - FP_PACK_RAW_Q(a, A); - FP_HANDLE_EXCEPTIONS; + FP_FROM_INT_Q (A, i, DI_BITS, UDItype); + FP_PACK_RAW_Q (a, A); return a; }