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/config/rs6000/ibm-ldouble.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/config/rs6000/ibm-ldouble.c')
-rw-r--r-- | libgcc/config/rs6000/ibm-ldouble.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcc/config/rs6000/ibm-ldouble.c b/libgcc/config/rs6000/ibm-ldouble.c index f9118d8..0e1c443 100644 --- a/libgcc/config/rs6000/ibm-ldouble.c +++ b/libgcc/config/rs6000/ibm-ldouble.c @@ -407,7 +407,7 @@ fmsub (double a, double b, double c) FP_UNPACK_RAW_D (C, c); /* Extend double to quad. */ -#if (2 * _FP_W_TYPE_SIZE) < _FP_FRACBITS_Q +#if _FP_W_TYPE_SIZE < 64 FP_EXTEND(Q,D,4,2,X,A); FP_EXTEND(Q,D,4,2,Y,B); FP_EXTEND(Q,D,4,2,Z,C); @@ -436,7 +436,7 @@ fmsub (double a, double b, double c) FP_SUB_Q(V,U,Z); /* Truncate quad to double. */ -#if (2 * _FP_W_TYPE_SIZE) < _FP_FRACBITS_Q +#if _FP_W_TYPE_SIZE < 64 V_f[3] &= 0x0007ffff; FP_TRUNC(D,Q,2,4,R,V); #else |