[RS6000] -mno-minimal-toc vs. power10 pcrelative
[official-gcc.git] / libquadmath / ChangeLog
blob9f23bbc05ac24e76363ea11c7577cff1e741f4d3
1 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
3         PR bootstrap/95413
4         * configure: Regenerated.
6 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8         PR bootstrap/95147
9         * configure: Regenerated.
11 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13         * configure: Regenerated.
15 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
17         PR libstdc++/79193
18         PR libstdc++/88999
20         * configure: Regenerated.
22 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
24         * configure.ac: Handle `--with-toolexeclibdir='.
25         * Makefile.in: Regenerate.
26         * aclocal.m4: Regenerate.
27         * configure: Regenerate.
29 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
31         Update copyright years.
33         * libquadmath.texi: Bump @copying's copyright year.
35 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
37         * configure: Regenerate.
39 2019-08-02  Jakub Jelinek  <jakub@redhat.com>
41         * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
42         M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
43         M_SQRT1_2q): Use two more decimal places.
45 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
47         Update copyright years.
49         * libquadmath.texi: Bump @copying's copyright year.
51 2018-12-11  Jakub Jelinek  <jakub@redhat.com>
53         PR c/88430
54         * quadmath_weak.h (__qmath2): Add __quadmath_throw.
56 2018-11-07  Joseph Myers  <joseph@codesourcery.com>
58         * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
59         mantissa2 and mantissa3 fields instead of mant_high and mant_low.
60         Change nan field to ieee_nan.
61         * update-quadmath.py (update_sources): Also update fmaq.c.
62         * math/nanq.c (nanq): Use ieee_nan field of union.
63         Zero-initialize f.  Set quiet_nan field.
64         * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
65         strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
66         mantissa3 fields.  Use ieee_nan and quiet_nan field.
67         * math/fmaq.c: Regenerate from glibc sources with
68         update-quadmath.py.
70 2018-11-05  Joseph Myers  <joseph@codesourcery.com>
72         PR libquadmath/68686
73         * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
74         Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
75         math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
76         math/casinhq_kernel.c.
77         * Makefile.in: Regenerate.
78         * libquadmath.texi (exp2q, issignalingq): Document.
79         * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
80         <fenv.h>.
81         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
82         (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
83         (__quadmath_gamma_productq, __quadmath_gammaq_r)
84         (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
85         (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
86         (math_check_force_underflow_complex, __glibc_likely)
87         (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
88         (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
89         (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
90         (fesetenv, fetestexcept, feclearexcept): Define if not supported
91         through <fenv.h>.
92         (__quadmath_isinf_nsq): Remove.
93         * quadmath.h (exp2q, issignalingq): New.
94         * quadmath.map (QUADMATH_1.2): New.
95         * quadmath_weak.h (exp2q, issignalingq): New.
96         * update-quadmath.py: New file.
97         * math/isinf_nsq.c: Remove file.
98         * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
99         math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
100         math/tanq_kernel.c, math/tgammaq_product.c: New files.  Generated
101         from glibc sources with update-quadmath.py.
102         * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
103         math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
104         math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
105         math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
106         math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
107         math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
108         math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
109         math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
110         math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
111         math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
112         math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
113         math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
114         math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
115         math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
116         math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
117         math/lroundq.c, math/modfq.c, math/nearbyintq.c,
118         math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
119         math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
120         math/signbitq.c, math/sincos_table.c, math/sincosq.c,
121         math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
122         math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
123         math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
124         update-quadmath.py.
126 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
128         PR bootstrap/82856
129         * Makefile.am: Include multilib.am.
130         (AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
131         (all-local): Define outside conditional code.
132         (CLEANFILES): Remove libquadmath.info.
133         * configure.ac: Remove AC_PREREQ.
134         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
136 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
138         * configure: Regenerated.
140 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
142         * configure: Regenerated.
144 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
146         PR jit/85384
147         * configure: Regenerate.
149 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
151         PR target/84148
152         * configure: Regenerate.
154 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
156         * libquadmath.texi: Bump @copying's copyright year.
158 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
160         * Makefile.am: Update AM_CFLAGS.
161         * Makefile.in: Regenerate:
162         * acinclude.m4: Add enable.m4 and cet.m4.
163         * configure: Regenerate.
164         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
166 2017-11-05  Tom de Vries  <tom@codesourcery.com>
168         PR other/82784
169         * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
170         "do {} while (0)".
172 2017-09-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
174         PR libquadmath/81848
175         * configure.ac (powerpc*-linux*): Use attribute mode KC to create
176         complex __float128 on PowerPC instead of attribute mode TC.
177         * quadmath.h (__complex128): Likewise.
178         * configure: Regenerate.
179         * math/cbrtq.c (CBRT2): Use __float128 not long double.
180         (CBRT4): Likewise.
181         (CBRT2I): Likewise.
182         (CBRT4I): Likewise.
183         * math/j0q.c (U0): Likewise.
184         * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
185         between __float128, instead explicitly convert the __float128
186         value to long double because the PowerPC does not allow __float128
187         and long double in the same expression.
189 2017-07-19  Gerald Pfeifer  <gerald@pfeifer.com>
191         * math/powq.c (powq): Use uint32_t instead of u_int32_t.
193 2017-07-19  Jakub Jelinek  <jakub@redhat.com>
195         PR libquadmath/65757
196         * quadmath-imp.h (math_opt_barrier, math_force_eval,
197         math_narrow_eval, math_check_force_underflow,
198         math_check_force_underflow_nonneg): Define.
199         * math/ceilq.c: Backport changes from upstream glibc
200         between 2012-11-01 and 2017-07-13.
201         * math/remquoq.c: Likewise.
202         * math/expq.c: Likewise.
203         * math/llroundq.c: Likewise.
204         * math/logq.c: Likewise.
205         * math/atanq.c: Likewise.
206         * math/nearbyintq.c: Likewise.
207         * math/scalblnq.c: Likewise.
208         * math/finiteq.c: Likewise.
209         * math/atanhq.c: Likewise.
210         * math/expm1q.c: Likewise.
211         * math/sinhq.c: Likewise.
212         * math/log10q.c: Likewise.
213         * math/rintq.c: Likewise.
214         * math/roundq.c: Likewise.
215         * math/fmaq.c: Likewise.
216         * math/erfq.c: Likewise.
217         * math/log2q.c: Likewise.
218         * math/lroundq.c: Likewise.
219         * math/j1q.c: Likewise.
220         * math/scalbnq.c: Likewise.
221         * math/truncq.c: Likewise.
222         * math/frexpq.c: Likewise.
223         * math/sincosq.c: Likewise.
224         * math/tanhq.c: Likewise.
225         * math/asinq.c: Likewise.
226         * math/coshq.c: Likewise.
227         * math/j0q.c: Likewise.
228         * math/asinhq.c: Likewise.
229         * math/floorq.c: Likewise.
230         * math/sinq_kernel.c: Likewise.
231         * math/powq.c: Likewise.
232         * math/hypotq.c: Likewise.
233         * math/sincos_table.c: Likewise.
234         * math/rem_pio2q.c: Likewise.
235         * math/nextafterq.c: Likewise.
236         * math/log1pq.c: Likewise.
237         * math/sincosq_kernel.c: Likewise.
238         * math/tanq.c: Likewise.
239         * math/acosq.c: Likewise.
240         * math/lrintq.c: Likewise.
241         * math/llrintq.c: Likewise.
243 2017-02-09  Gerald Pfeifer  <gerald@pfeifer.com>
245         * configure.ac (ACX_BUGURL): Update.
246         * configure: Regenerate.
248 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
250         PR other/79046
251         * configure.ac: Add GCC_BASE_VER.
252         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
253         get version from BASE-VER file.
254         * configure: Regenerated.
255         * Makefile.in: Regenerated.
257 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
259         * libquadmath.texi: Bump @copying's copyright year.
261 2016-11-15  Matthias Klose  <doko@ubuntu.com>
263         * configure: Regenerate.
265 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
267         * libquadmath.texi: Bump @copying's copyright year.
269 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
271         * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
272         * Makefile.in: Regenerate.
273         * libquadmath.texi: Document logbq.
274         * quadmath.h: Add logbq prototype.
275         * quadmath.map: Add logbq.
276         * quadmath_weak.h: Add logbq prototype.
277         * math/logbq.c: New file
279 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
281         * Makefile.in: Regenerated with automake-1.11.6.
282         * aclocal.m4: Likewise.
283         * configure: Likewise.
285 2015-01-26  Matthias Klose  <doko@ubuntu.com>
287         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
288         * configure: Regenerate.
290 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
292         * libquadmath.texi: Bump @copying's copyright year.
294 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
296         PR bootstrap/63784
297         * configure: Regenerated.
299 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
301         PR target/63610
302         * configure: Regenerate.
304 2014-10-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
306         PR libquadmath/55821
307         * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
308         * Makefile.in: Regenerate.
310 2014-10-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
312         PR libquadmath/55821
313         * Makefile.am: Conditionally define info_TEXINFOS and
314         libquadmath_TEXINFOS.
315         * Makefile.in: Regenerate.
317 2014-10-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
319         PR libquadmath/63487
320         * libquadmath.texi (sincosq): Fix typo.
322 2014-01-02  Tobias Burnus  <burnus@net-b.de>
324         * libquadmath.texi: Bump @copying's copyright year.
326 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
328         * Makefile.am (AM_CPPFLAGS): Define.
329         * Makefile.in: Regenerate.
330         * printf/gmp-impl.h: Remove path from longlong.h include.
332 2013-09-20  Alan Modra  <amodra@gmail.com>
334         * configure: Regenerate.
336 2013-03-06  Shakthi Kannan  <shakthimaan@gmail.com>
338         PR libquadmath/55473
339         * quadmath.h: Add 'extern "C"' block for C++ use.
341 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
343         PR libquadmath/56379
344         * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
345         macro.
347 2013-02-17  Tobias Burnus  <burnus@net-b.de>
349         * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
351 2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
353         Revert previous patch.
355 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
357         Update copyright years.
359 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
361         PR libquadmath/56072
362         * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
364 2012-12-13  Jakub Jelinek  <jakub@redhat.com>
366         * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
367         instead of L suffixed ones.
368         * math/fmaq.c (fmaq): Likewise.
369         * math/rintq.c (TWO112): Likewise.
371 2012-12-03  Tobias Burnus  <burnus@net-b.de>
373         * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
374         reading.
376 2012-11-25  Tobias Burnus  <burnus@net-b.de>
378         PR libquadmath/55462
379         * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
380         instead of nonexisting HAVE_GET_ROUNDING_MODE.
382 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
384         PR bootstrap/55455
385         * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
386         void to fegetround.
388 2012-11-23  Tobias Burnus  <burnus@net-b.de>
389             Joseph Myers  <joseph@codesourcery.com>
391         * quadmath-rounding-mode.h: New.
392         * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
393         * printf/fpioconst.h: Ditto.
394         * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
395         Make printf respect the rounding mode for decimal output.
396         * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
397         GLIBC.  Make printf respect the rounding mode for hex output.
398         * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
399         rounding mode. Fix strtod handling of underflow.
401 2012-11-22  David S. Miller  <davem@davemloft.net>
402             Tobias Burnus  <burnus@net-b.de>
403             Joseph Myers  <joseph@codesourcery.com>
405         * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
406         very large arguments properly.
407         * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
408         underflow when 'x' is very small.
409         * math/j1q.c (y1q): Ditto.
410         * math/log1pq.c (log1pq): Update from GLIBC. Saturate
411         nonzero exponents with absolute value below 0x1p-128 to
412         +/- 0x1p-128.
413         * math/powq.c (powq): Update from GLIBC. If xm1 is
414         smaller than LDBL_EPSILON/2.0L, just return xm1.
416 2012-11-21  Tobias Burnus  <burnus@net-b.de>
418         PR libquadmath/55225
419         * math/lgammaq.c (lgammaq): Use local variable if
420         math.h does not provide signgam.
421         * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
422         * configure.ac: Use it.
423         * configure: Regenerate.
424         * config.h.in: Regenerate.
426 2012-11-15  Tobias Burnus  <burnus@net-b.de>
427             Joseph Myers  <joseph@codesourcery.com>
429         * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
430         underflows with small x * y; Fix overflow results
431         outside round-to-nearest mode; make use of Dekker
432         and Knuth algorithms use round-to-nearest.
434 2012-11-01  Tobias Burnus  <burnus@net-b.de>
436         * math/fmaq.c (fmaq): Fix build.
438 2012-11-01  Tobias Burnus  <burnus@net-b.de>
439             Joseph Myers  <joseph@codesourcery.com>
441         * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
442         with small x * y using scaling, not as x * y + z.
443         * math/lgammaq.c (lgammaq): Fix signgam handling.
445 2012-11-01  Tobias Burnus  <burnus@net-b.de>
447         * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
448         * Makefile.in: Regenerated.
449         * math/acoshq.c: Update comment.
450         * math/acosq.c: Ditto.
451         * math/asinhq.c: Ditto.
452         * math/asinq.c: Ditto.
453         * math/atan2q.c: Ditto.
454         * math/atanhq.c: Ditto.
455         * math/ceilq.c: Ditto.
456         * math/copysignq.c: Ditto.
457         * math/cosq.c: Ditto.
458         * math/coshq.c: Ditto.
459         * math/erfq.c: Ditto.
460         * math/fabsq.c: Ditto.
461         * math/finiteq.c: Ditto.
462         * math/floorq.c: Ditto.
463         * math/fmodq.c: Ditto.
464         * math/frexpq.c: Ditto.
465         * math/isnanq.c: Ditto.
466         * math/j0q.c: Ditto.
467         * math/j1q.c: Ditto.
468         * math/ldexpq.c: Ditto.
469         * math/llroundq.c: Ditto.
470         * math/log10q.c: Ditto.
471         * math/log1pq.c: Ditto.
472         * math/log2q.c: Ditto.
473         * math/logq.c: Ditto.
474         * math/lroundq.c: Ditto.
475         * math/modfq.c: Ditto.
476         * math/nextafterq.c: Ditto.
477         * math/powq.c: Ditto.
478         * math/rem_pio2q.c: Ditto.
479         * math/remainderq.c: Ditto.
480         * math/rintq.c: Ditto.
481         * math/roundq.c: Ditto.
482         * math/scalblnq.c: Ditto.
483         * math/scalbnq.c: Ditto.
484         * math/sincosq_kernel.c: Ditto.
485         * math/sinq.c: Ditto.
486         * math/tanq.c: Ditto.
487         * math/expq.c: Ditto.
488         (__expq_table, expq): Renamed local array from __expl_table.
489         * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
490         * math/cacoshq.c: Changes from GLIBC; fix returned sign.
491         * math/casinhq.c: Changes from GLIBC to fix special-case.
492         * math/cbrtq.c: Use modified GLIBC version.
493         * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
494         ctanhq, ctanq): Moved to separates files.
495         (mult_c128, div_c128): Removed no longer needed functions.
496         (cexpiq): Call sincosq instead of sinq and cosq.
497         (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
498         * math/ccoshq.c (ccoshq): New file, moved from complex.c and
499         modified based on GLIBC.
500         * math/cexpq.c (cexp): Ditto.
501         * math/clog10q.c (clog10q): Ditto.
502         * math/clogq.c (clogq): Ditto.
503         * math/csinhq.c: Ditto.
504         * math/csinq.c: Ditto.
505         * math/csqrtq.c: Ditto.
506         * math/ctanhq.c: Ditto.
507         * math/ctanq.c: Ditto.
508         * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
509         from GLIBC.
510         * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
511         * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
512         from GLIBC.
513         * math/lgammaq.c (lgammaq): Add signgam handling.
514         * math/sinhq.c (sinhq): Fix sign handling.
515         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
516         * math/tgammaq.c (tgammaq): Ditto.
517         * math/x2y2m1q.c: New file.
518         * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
519         (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
521 2012-10-31  Tobias Burnus  <burnus@net-b.de>
522             Joseph Myers <joseph@codesourcery.com>
523             David S. Miller <davem@davemloft.net>
524             Ulrich Drepper <drepper@redhat.com>
525             Marek Polacek <polacek@redhat.com>:
526             Petr Baudis <pasky@suse.cz>
528         * math/complex.c (csqrtq): NaN and INF fixes. 
529         * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
530         * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
531         large parameters. Fix errno for boundary conditions.
532         * math/finiteq.c (finiteq): Add comment.
533         * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
534         and bad results for some subnormal results. Fix sign of inexact
535         zero return. Fix sign of exact zero return. 
536         Ensure additions are not scheduled after fetestexcept.
537         * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
538         for ynq. Fix jnq precision.
539         * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
540         manipulate bits before adding and subtracting TWO112[sx].
541         * math/rintq.c (rintq): Ditto.
542         * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
543         overflow.
545 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
547         * configure: Regenerated.
549 2012-05-29  Benjamin Kosnik  <bkoz@redhat.com>
551         PR libstdc++/51007
552         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
553         * configure: Regenerated.
555 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
557         * configure: Regenerated.
559 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
561         * configure: Regenerate.
563 2011-11-07  Kai Tietz  <ktietz@redhat.com>
565         PR target/51007
566         * quadmath-imp.h (ieee854_float128): Adjust
567         for ms-bitfield layout.
569 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
571         * printf/gmp-impl.h: Adapt path to longlong.h.
573 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
575         * Makefile.am (FLAGS_TO_PASS): Define.
576         * Makefile.in: Regenerate.
578 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
580         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
581         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
583 2011-04-03  Tobias Burnus  <burnus@net-b.de>
585         PR fortran/48311
586         * libquadmath.texi (strtoflt128): Fix typo.
587         (quadmath_snprintf): Move note up, make @item.
589 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
591         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
592         mempcpy.
594 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
596         PR bootstrap/48135
597         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
598         * configure: Regenerate.
600 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
602         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
603         that for size > 0 str is always zero terminated.
605 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
607         PR bootstrap/47827
608         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
610 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
612         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
613         FLT128_MAX_10_EXP): Document.
614         (strtoflt128): Remove obsolete comment.
615         * configure.ac (HAVE_STRTOULL): New check.
616         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
617         define.
618         * printf/mul_n.c: Include <config.h>.
619         * printf/add_n.c: Likewise.
620         * printf/cmp.c: Likewise.
621         * printf/fpioconst.c: Likewise.
622         * printf/mul_1.c: Likewise.
623         * printf/rshift.c: Likewise.
624         * printf/lshift.c: Likewise.
625         * printf/submul_1.c: Likewise.
626         * printf/sub_n.c: Likewise.
627         * printf/divrem.c: Likewise.
628         * printf/addmul_1.c: Likewise.
629         * printf/mul.c: Likewise.
630         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
631         to avoid evaluating argument multiple times.
632         (isxdigit): Redefine.
633         * strtod/strtoflt128.c: New file.
634         * strtod/strtod_l.c: New file.
635         * strtod/mpn2flt128.c: New file.
636         * strtod/grouping.h: New file.
637         * strtod/tens_in_limb.c: New file.
638         * gdtoa/arith.h: Removed.
639         * gdtoa/gd_qnan.h: Removed.
640         * gdtoa/gdtoa_fltrnds.h: Removed.
641         * gdtoa/gdtoa.h: Removed.
642         * gdtoa/gdtoaimp.h: Removed.
643         * gdtoa/gethex.c: Removed.
644         * gdtoa/gmisc.c: Removed.
645         * gdtoa/hd_init.c: Removed.
646         * gdtoa/hexnan.c: Removed.
647         * gdtoa/makefile: Removed.
648         * gdtoa/misc.c: Removed.
649         * gdtoa/README.gdtoa: Removed.
650         * gdtoa/smisc.c: Removed.
651         * gdtoa/strtodg.c: Removed.
652         * gdtoa/strtopQ.c: Removed.
653         * gdtoa/sum.c: Removed.
654         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
655         Define.
656         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
657         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
658         * config.h.in: Regenerated.
659         * configure: Regenerated.
660         * Makefile.in: Regenerated.
662 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
664         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
665         whether workarounds for printf hook handling should be added.
667         * configure.ac: Check for locale.h too.
668         (USE_LOCALE_SUPPORT): Remove check.
669         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
670         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
671         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
672         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
673         for wide version.
674         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
675         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
676         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
677         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
678         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
679         USE_I18N_NUMBER_H #ifdef.
680         * configure: Regenerated.
681         * config.h.in: Regenerated.
683 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
685         PR bootstrap/47736
686         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
687         user field.
688         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
689         field instead of setting individual fields to 0.  Don't set info.user
690         to -1.
691         * configure: Regenerated.
693         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
694         * printf/printf_fp.c: Don't include <alloca.h>.
695         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
696         * configure: Regenerated.
698         PR fortran/47642
699         * libquadmath.texi (quadmath_snprintf): Document.
700         (quadmath_flt128tostr): Remove.
701         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
702         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
703         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
704         * quadmath.h (quadmath_snprintf): New prototype.
705         (quadmath_flt128tostr): Remove.
706         * quadmath_weak.h (quadmath_snprintf): Add.
707         (quadmath_flt128tostr): Remove.
708         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
709         wctype.h, limits.h, ctype.h, printf.h, errno.h.
710         (AC_USE_SYSTEM_EXTENSIONS): Add.
711         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
712         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
713         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
714         quadmath_flt128tostr.
715         * printf/printf_fphex.c: New file.
716         * printf/_itowa.h: New file.
717         * printf/mul_n.c: New file.
718         * printf/quadmath-printf.h: New file.
719         * printf/submul_1.c: New file.
720         * printf/quadmath-printf.c: New file.
721         * printf/gmp-impl.h: New file.
722         * printf/lshift.c: New file.
723         * printf/fpioconst.h: New file.
724         * printf/add_n.c: New file.
725         * printf/cmp.c: New file.
726         * printf/sub_n.c: New file.
727         * printf/mul.c: New file.
728         * printf/divrem.c: New file.
729         * printf/addmul_1.c: New file.
730         * printf/printf_fp.c: New file.
731         * printf/_itoa.h: New file.
732         * printf/fpioconst.c: New file.
733         * printf/_i18n_number.h: New file.
734         * printf/flt1282mpn.c: New file.
735         * printf/rshift.c: New file.
736         * printf/mul_1.c: New file.
737         * quadmath_io.c: Removed.
738         * gdtoa/gdtoa.c: Removed.
739         * gdtoa/g__fmt.c: Removed.
740         * gdtoa/g_Qfmt.c: Removed.
741         * gdtoa/dmisc.c: Removed.
742         * gdtoa/ulp.c: Removed.
743         * config.h.in: Regenerated.
744         * configure: Regenerated.
745         * Makefile.in: Regenerated.
747 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
749         * Makefile.in: Regenerate.
750         * aclocal.m4: Likewise.
751         * configure: Likewise.
753 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
755         PR libquadmath/47293
756         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
757         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
759 2011-01-17  Tobias Burnus  <burnus@net-b.de>
761         PR fortran/47295
762         * libquadmath.text: Document typedef and constants.
764 2011-01-17  Tobias Burnus  <burnus@net-b.de>
766         PR fortran/46817
767         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
768         bump copyright year and use /**/ instead of // comments.
769         * quadmath.h: Ditto.
770         * quadmath-weak.h: Ditto.
771         * quadmath_io.c: Ditto.
773 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
775         PR libfortran/47322
776         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
778         PR fortran/46625
779         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
780         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
781         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
782         (strtoflt128, quadmath_flt128tostr): Add.
783         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
784         (strtoflt128): ... this.  Return __float128, instead of writing
785         to memory pointed by last argument.
786         * quadmath.h: Use C style comments instead of C++ style.
787         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
788         (strtoflt128, quadmath_flt128tostr): Add prototypes.
789         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
790         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
791         adjust examples.
792         * quadmath_io.c (quadmath_dtoaq): Rename to...
793         (quadmath_flt128tostr): ... this.
795         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
796         Use it for all prototypes.
798         PR fortran/46416
799         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
800         const from prototype argument.
801         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
802         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
803         (__quadmath_extern_inline): Define.
804         (cimagq, conjq, crealq): New inlines.
805         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
806         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
807         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
808         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
809         * Makefile.in: Regenerated.
810         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
811         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
812         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
813         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
814         tests instead of __BIG_ENDIAN__.
815         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
816         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
817         and remquoq.
818         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
819         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
820         * math/cprojq.c: New file.
821         * math/ilogbq.c: New file.
822         * math/fminq.c: New file.
823         * math/llrintq.c: New file.
824         * math/log2q.c: New file.
825         * math/lrintq.c: New file.
826         * math/crealq.c: New file.
827         * math/nearbyintq.c: New file.
828         * math/fmaxq.c: New file.
829         * math/conjq.c: New file.
830         * math/remquoq.c: New file.
831         * math/cimagq.c: New file.
832         * math/fdimq.c: New file.
834         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
836         PR fortran/46416
837         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
838         New prototypes.
839         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
840         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
841         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
842         catanhq): Add.
843         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
844         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
845         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
846         catanq and catanhq.
847         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
848         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
849         and math/catanhq.c.
850         * Makefile.in: Regenerated.
851         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
852         catanq, catanhq): Add.
853         * math/cacoshq.c: New file.
854         * math/cacosq.c: New file.
855         * math/catanq.c: New file.
856         * math/catanhq.c: New file.
857         * math/casinq.c: New file.
858         * math/casinhq.c: New file.
860         * math/hypotq.c (hypotq): Use Q suffix instead of L.
861         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
862         * math/cosq.c (cosq): Likewise.
864         PR fortran/46402
865         * quadmath.map (QUADMATH_1.0): Add fmaq.
866         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
867         feupdateenv, fesetenv and fetestexcept.
868         * configure: Regenerated.
869         * config.h.in: Regenerated.
870         * quadmath.h (fmaq): New prototype.
871         * quadmath_weak.h (fmaq): Add.
872         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
873         * Makefile.in: Regenerated.
874         * quadmath-imp.h: Include config.h.
875         * math/expq.c: Include fenv.h.
876         (USE_FENV_H): Define if libm support for fe* is there.
877         (expq): Add fesetround etc. support if USE_FENV_H is defined.
878         * math/fmaq.c: New file.
879         * libquadmath.texi (fmaq): Add.
881 2011-01-14  Tobias Burnus  <burnus@net-b.de>
883         PR fortran/47182
884         * configure.ac: Use ACX_BUGURL.
885         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
886         * Makefile.am: Create libquadmath-vers.texi.
887         * configure.in: Regenerate.
888         * Makefile.in: Regenerate.
890 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
892         PR fortran/47174
893         * Makefile.am (libquadmath.info): Unconditionally override
894         target, not only if BUILD_LIBQUADMATH.
895         * Makefile.in: Regenerate.
896         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
897         avoid warning from automake.
899 2010-12-19  Tobias Burnus  <burnus@net-b.de>
901         PR fortran/46520
902         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
903         * configure: Regenerate
905 2010-12-13  Tobias Burnus  <burnus@net-b.de>
907         PR fortran/46625
908         * gdtoa/gdtoaimp.h: Mangle internal functions by
909         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
910         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
911         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
912         if NO_STRING_H is set.
913         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
914         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
915         __quadmath prefix to internal functions.
916         * math/cosq.c (cosq): Ditto.
917         * math/sinq.c (cosq): Ditto.
918         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
919         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
920         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
921         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
923 2010-12-08  Tobias Burnus  <burnus@net-b.de>
925         PR fortran/46772
926         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
927         * gdtoa/gdtoaimp.h: Don't declare strtod.
929 2010-12-08  Tobias Burnus  <burnus@net-b.de>
931         PR fortran/46520
932         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
933         AC_TRY_LINK and cache libquad_have_float128.
934         * configure: Regenerate.
936 2010-12-08  Tobias Burnus  <burnus@net-b.de>
938         PR fortran/46543
939         * configure.ac: Add texinfo checks.
940         * Makefile.am: Handle .texi documentation.
941         * libquadmath.texi: New.
942         * configure: Regenerated.
943         * Makefile.in: Regenerated.
945 2010-12-06  Tobias Burnus  <burnus@net-b.de>
947         PR fortran/46817
948         * quadmath-imp.h: Add LGPL header.
949         * quadmath.h: Add LGPL header.
950         * quadmath_io.c: Add LGPL header.
951         * quadmath_weak.h: Add LGPL header.
953 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
955         PR target/40125
956         PR lto/46695
957         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
958         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
959         * aclocal.m4: Regenerate.
960         * configure: Regenerate.
961         * Makefile.in: Regenerate.
963 2010-11-30  Tobias Burnus  <burnus@net-b.de>
965         PR fortran/46594
966         * Makefile.am: Install include files in
967         target/version specific directory.
968         * Makefile.in: Regenerate.
970 2010-11-30  Tobias Burnus  <burnus@net-b.de>
972         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
973         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
974         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
976 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
978         * configure: Regenerated.
979         * Makefile.in: Regenerated.
980         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
981         (target_alias): Use AC_SUBST for it.
982         (GCC_NO_EXECUTABLES): Call it.
983         (AC_PROG_CC): Improve multilib handling.
984         Check that gcc is used for compilation.
985         Use pattern from libssp for symbol versioning checking.
986         * Makefile.am (LTLDFLAGS): Removed.
987         (libquadmath_la_LDFLAGS): Add -no-undefined.
988         (libquadmath_la_LINK): Commented out.
989         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
990         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
991         (MAKEOVERRIDES): New.
992         * aclocal.m4: Regenerated.
994 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
996         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
997         (libquadmath_la_LDFLAGS): ... here.
998         (quadmath.map-sun): Tabify.
999         Fix sed expression.
1000         * Makefile.in: Regenerate.
1002 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1003             Tobias Burnus  <burnus@net-b.de>
1005         PR fortran/32049
1006         Initial implementation and checkin.
1008 Copyright (C) 2010-2018 Free Software Foundation, Inc.
1010 Copying and distribution of this file, with or without modification,
1011 are permitted in any medium without royalty provided the copyright
1012 notice and this notice are preserved.