diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2019-05-17 14:37:39 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2019-05-17 07:37:39 -0700 |
commit | 2581344df6f04d63f2662fd7b562bc6b060c557b (patch) | |
tree | 9357cfac2bff2e84ba273ad01155ce4ac5af7749 /libgcc/soft-fp/trunctfsf2.c | |
parent | c43c3af2c5b7340275da609f6bdd2bdc4a787c1c (diff) | |
download | gcc-2581344df6f04d63f2662fd7b562bc6b060c557b.zip gcc-2581344df6f04d63f2662fd7b562bc6b060c557b.tar.gz gcc-2581344df6f04d63f2662fd7b562bc6b060c557b.tar.bz2 |
soft-fp: Update soft-fp from glibc
This patch is updating all soft-fp from glibc, most changes are
copyright years update, and changes other than years update are
* soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4_FP_W_TYPEs are used for IEEE quad precision.
* soft-fp/extendhftf2.c: Likewise.
* soft-fp/extendsftf2.c: Likewise.
* soft-fp/extendxftf2.c: Likewise.
* soft-fp/trunctfdf2.c: Likewise.
* soft-fp/trunctfhf2.c: Likewise.
* soft-fp/trunctfsf2.c: Likewise.
* soft-fp/trunctfxf2.c: Likewise.
* config/rs6000/ibm-ldouble.c: Likewise.
From-SVN: r271327
Diffstat (limited to 'libgcc/soft-fp/trunctfsf2.c')
-rw-r--r-- | libgcc/soft-fp/trunctfsf2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcc/soft-fp/trunctfsf2.c b/libgcc/soft-fp/trunctfsf2.c index 4b04d69..965e1c4 100644 --- a/libgcc/soft-fp/trunctfsf2.c +++ b/libgcc/soft-fp/trunctfsf2.c @@ -1,6 +1,6 @@ /* Software floating-point emulation. Truncate IEEE quad into IEEE single - Copyright (C) 1997-2018 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). @@ -42,7 +42,7 @@ __trunctfsf2 (TFtype a) FP_INIT_ROUNDMODE; FP_UNPACK_SEMIRAW_Q (A, a); -#if (2 * _FP_W_TYPE_SIZE) < _FP_FRACBITS_Q +#if _FP_W_TYPE_SIZE < 64 FP_TRUNC (S, Q, 1, 4, R, A); #else FP_TRUNC (S, Q, 1, 2, R, A); |