tree-optimization/112990 - unsupported VEC_PERM from match pattern
[official-gcc.git] / libquadmath / ChangeLog
blob4d407867b543fad6b26bb29639661d10d3e47a89
1 2023-12-12  Jakub Jelinek  <jakub@redhat.com>
3         PR libquadmath/112963
4         * configure.ac (LIBM): Readd AC_CHECK_LIBM-like check without doing
5         AC_CHECK_LIB in it.
6         * configure: Regenerated.
7         * Makefile.in: Regenerated.
9 2023-10-23  Iain Sandoe  <iain@sandoe.co.uk>
11         PR libquadmath/111928
12         * Makefile.in: Regenerate.
13         * configure: Regenerate.
14         * configure.ac: Remove AC_CHECK_LIBM.
16 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
18         * Makefile.am: Handle Darwin rpaths.
19         * Makefile.in: Regenerate.
20         * configure: Regenerate.
21         * configure.ac: Handle Darwin rpaths.
23 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
25         * configure: Regenerate.
27 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
29         * configure: Regenerate.
31 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
33         * configure: Regenerate.
35 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
37         * configure: Regenerate.
39 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
41         * configure: Regenerate.
43 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
45         * configure: Regenerate.
47 2023-03-02  niXman  <i.nixman@autistici.org>
48             Jakub Jelinek  <jakub@redhat.com>
50         PR libquadmath/87204
51         PR libquadmath/94756
52         * printf/gmp-impl.h (mp_limb_t, mp_limb_signed_t, BITS_PER_MP_LIMB):
53         Use 64-bit limbs on LLP64 targets.
54         * strtod/strtod_l.c (round_and_return): Cherry-pick glibc
55         9310c284ae9 BZ #16151, 4406c41c1d6 BZ #16965 and fcd6b5ac36a
56         BZ #23279 fixes.
57         (____STRTOF_INTERNAL): Cherry-pick glibc b0debe14fcf BZ #23007,
58         5556d30caee BZ #18247, 09555b9721d and c6aac3bf366 BZ #26137 and
59         d84f25c7d87 fixes.
61 2023-01-02  Jakub Jelinek  <jakub@redhat.com>
63         * libquadmath.texi: Bump @copying's copyright year.
65 2022-11-14  Martin Liska  <mliska@suse.cz>
67         Revert:
68         2022-11-14  Martin Liska  <mliska@suse.cz>
70         * doc/conf.py: New file.
71         * doc/copyright.rst: New file.
72         * doc/gnu-free-documentation-license.rst: New file.
73         * doc/i-o-library-routines.rst: New file.
74         * doc/index.rst: New file.
75         * doc/indices-and-tables.rst: New file.
76         * doc/introduction.rst: New file.
77         * doc/math-library-routines.rst: New file.
78         * doc/quadmathsnprintf.rst: New file.
79         * doc/reporting-bugs.rst: New file.
80         * doc/strtoflt128.rst: New file.
81         * doc/typedef-and-constants.rst: New file.
83 2022-11-14  Martin Liska  <mliska@suse.cz>
85         Revert:
86         2022-11-14  Martin Liska  <mliska@suse.cz>
88         * Makefile.in: Support Sphinx based documentation.
90 2022-11-14  Martin Liska  <mliska@suse.cz>
92         Revert:
93         2022-11-14  Martin Liska  <mliska@suse.cz>
95         * libquadmath.texi: Removed.
97 2022-11-14  Martin Liska  <mliska@suse.cz>
99         Revert:
100         2022-11-14  Martin Liska  <mliska@suse.cz>
102         * Makefile.in: Support --with-sphinx-build.
103         * configure.ac: Likewise.
104         * configure: Regenerate.
106 2022-11-14  Martin Liska  <mliska@suse.cz>
108         Revert:
109         2022-11-14  Martin Liska  <mliska@suse.cz>
111         * Makefile.in: Build info pages conditionally.
113 2022-11-14  Martin Liska  <mliska@suse.cz>
115         Revert:
116         2022-11-14  Martin Liska  <mliska@suse.cz>
118         * doc/copyright.rst:
119         Add trailing newline.
120         * doc/gnu-free-documentation-license.rst:
121         Add trailing newline.
122         * doc/i-o-library-routines.rst:
123         Add trailing newline.
124         * doc/index.rst:
125         Add trailing newline.
126         * doc/indices-and-tables.rst:
127         Add trailing newline.
128         * doc/introduction.rst:
129         Add trailing newline.
130         * doc/math-library-routines.rst:
131         Add trailing newline.
132         * doc/quadmathsnprintf.rst:
133         Add trailing newline.
134         * doc/reporting-bugs.rst:
135         Add trailing newline.
136         * doc/strtoflt128.rst:
137         Add trailing newline.
138         * doc/typedef-and-constants.rst:
139         Add trailing newline.
141 2022-11-14  Martin Liska  <mliska@suse.cz>
143         Revert:
144         2022-11-14  Martin Liska  <mliska@suse.cz>
146         * Makefile.in: Add missing HAS_SPHINX_BUILD.
148 2022-11-14  Martin Liska  <mliska@suse.cz>
150         Revert:
151         2022-11-14  Martin Liska  <mliska@suse.cz>
153         * doc/conf.py: Add newline at last line.
155 2022-11-14  Martin Liska  <mliska@suse.cz>
157         Revert:
158         2022-11-14  Martin Liska  <mliska@suse.cz>
160         PR other/107620
161         * configure: Regenerate.
162         * configure.ac: Always set sphinx-build.
164 2022-11-13  Martin Liska  <mliska@suse.cz>
166         PR other/107620
167         * configure: Regenerate.
168         * configure.ac: Always set sphinx-build.
170 2022-11-10  Martin Liska  <mliska@suse.cz>
172         * doc/conf.py: Add newline at last line.
174 2022-11-09  Martin Liska  <mliska@suse.cz>
176         * Makefile.in: Add missing HAS_SPHINX_BUILD.
178 2022-11-09  Martin Liska  <mliska@suse.cz>
180         * doc/copyright.rst:
181         Add trailing newline.
182         * doc/gnu-free-documentation-license.rst:
183         Add trailing newline.
184         * doc/i-o-library-routines.rst:
185         Add trailing newline.
186         * doc/index.rst:
187         Add trailing newline.
188         * doc/indices-and-tables.rst:
189         Add trailing newline.
190         * doc/introduction.rst:
191         Add trailing newline.
192         * doc/math-library-routines.rst:
193         Add trailing newline.
194         * doc/quadmathsnprintf.rst:
195         Add trailing newline.
196         * doc/reporting-bugs.rst:
197         Add trailing newline.
198         * doc/strtoflt128.rst:
199         Add trailing newline.
200         * doc/typedef-and-constants.rst:
201         Add trailing newline.
203 2022-11-09  Martin Liska  <mliska@suse.cz>
205         * Makefile.in: Build info pages conditionally.
207 2022-11-09  Martin Liska  <mliska@suse.cz>
209         * Makefile.in: Support --with-sphinx-build.
210         * configure.ac: Likewise.
211         * configure: Regenerate.
213 2022-11-09  Martin Liska  <mliska@suse.cz>
215         * libquadmath.texi: Removed.
217 2022-11-09  Martin Liska  <mliska@suse.cz>
219         * Makefile.in: Support Sphinx based documentation.
221 2022-11-09  Martin Liska  <mliska@suse.cz>
223         * doc/conf.py: New file.
224         * doc/copyright.rst: New file.
225         * doc/gnu-free-documentation-license.rst: New file.
226         * doc/i-o-library-routines.rst: New file.
227         * doc/index.rst: New file.
228         * doc/indices-and-tables.rst: New file.
229         * doc/introduction.rst: New file.
230         * doc/math-library-routines.rst: New file.
231         * doc/quadmathsnprintf.rst: New file.
232         * doc/reporting-bugs.rst: New file.
233         * doc/strtoflt128.rst: New file.
234         * doc/typedef-and-constants.rst: New file.
236 2022-10-12  Martin Liska  <mliska@suse.cz>
238         * configure: Regenerate.
240 2022-10-11  Olivier Hainque  <hainque@adacore.com>
241             Olivier Hainque  <hainque@adacore.com>
243         * configure: Regenerate.
245 2022-08-25  Martin Liska  <mliska@suse.cz>
247         * configure: Regenerate.
249 2022-01-11  Jakub Jelinek  <jakub@redhat.com>
251         * configure.ac: Set XCFLAGS to -mno-gnu-attribute on
252         powerpc64le*-linux*.
253         * configure: Regenerated.
255 2022-01-03  Jakub Jelinek  <jakub@redhat.com>
257         * libquadmath.texi: Bump @copying's copyright year.
259 2021-06-08  Martin Liska  <mliska@suse.cz>
261         * libquadmath.texi: Fix typo.
263 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
265         * configure: Re-generate.
267 2021-01-01  Jakub Jelinek  <jakub@redhat.com>
269         * libquadmath.texi: Bump @copying's copyright year.
271 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
273         PR target/97865
274         * configure: Regenerate.
276 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
278         * configure: Regenerate.
280 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
282         PR bootstrap/95413
283         * configure: Regenerated.
285 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
287         PR bootstrap/95147
288         * configure: Regenerated.
290 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
292         * configure: Regenerated.
294 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
296         PR libstdc++/79193
297         PR libstdc++/88999
299         * configure: Regenerated.
301 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
303         * configure.ac: Handle `--with-toolexeclibdir='.
304         * Makefile.in: Regenerate.
305         * aclocal.m4: Regenerate.
306         * configure: Regenerate.
308 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
310         Update copyright years.
312         * libquadmath.texi: Bump @copying's copyright year.
314 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
316         * configure: Regenerate.
318 2019-08-02  Jakub Jelinek  <jakub@redhat.com>
320         * quadmath.h (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq,
321         M_PI_2q, M_PI_4q, M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q,
322         M_SQRT1_2q): Use two more decimal places.
324 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
326         Update copyright years.
328         * libquadmath.texi: Bump @copying's copyright year.
330 2018-12-11  Jakub Jelinek  <jakub@redhat.com>
332         PR c/88430
333         * quadmath_weak.h (__qmath2): Add __quadmath_throw.
335 2018-11-07  Joseph Myers  <joseph@codesourcery.com>
337         * quadmath-imp.h (ieee854_float128): Use mantissa0, mantissa1,
338         mantissa2 and mantissa3 fields instead of mant_high and mant_low.
339         Change nan field to ieee_nan.
340         * update-quadmath.py (update_sources): Also update fmaq.c.
341         * math/nanq.c (nanq): Use ieee_nan field of union.
342         Zero-initialize f.  Set quiet_nan field.
343         * printf/flt1282mpn.c, printf/printf_fphex.c, strtod/mpn2flt128.c,
344         strtod/strtoflt128.c: Use mantissa0, mantissa1, mantissa2 and
345         mantissa3 fields.  Use ieee_nan and quiet_nan field.
346         * math/fmaq.c: Regenerate from glibc sources with
347         update-quadmath.py.
349 2018-11-05  Joseph Myers  <joseph@codesourcery.com>
351         PR libquadmath/68686
352         * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
353         Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
354         math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
355         math/casinhq_kernel.c.
356         * Makefile.in: Regenerate.
357         * libquadmath.texi (exp2q, issignalingq): Document.
358         * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
359         <fenv.h>.
360         (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
361         (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
362         (__quadmath_gamma_productq, __quadmath_gammaq_r)
363         (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
364         (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
365         (math_check_force_underflow_complex, __glibc_likely)
366         (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
367         (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
368         (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
369         (fesetenv, fetestexcept, feclearexcept): Define if not supported
370         through <fenv.h>.
371         (__quadmath_isinf_nsq): Remove.
372         * quadmath.h (exp2q, issignalingq): New.
373         * quadmath.map (QUADMATH_1.2): New.
374         * quadmath_weak.h (exp2q, issignalingq): New.
375         * update-quadmath.py: New file.
376         * math/isinf_nsq.c: Remove file.
377         * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
378         math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
379         math/tanq_kernel.c, math/tgammaq_product.c: New files.  Generated
380         from glibc sources with update-quadmath.py.
381         * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
382         math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
383         math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
384         math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
385         math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
386         math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
387         math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
388         math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
389         math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
390         math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
391         math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
392         math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
393         math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
394         math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
395         math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
396         math/lroundq.c, math/modfq.c, math/nearbyintq.c,
397         math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
398         math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
399         math/signbitq.c, math/sincos_table.c, math/sincosq.c,
400         math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
401         math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
402         math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
403         update-quadmath.py.
405 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
407         PR bootstrap/82856
408         * Makefile.am: Include multilib.am.
409         (AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
410         (all-local): Define outside conditional code.
411         (CLEANFILES): Remove libquadmath.info.
412         * configure.ac: Remove AC_PREREQ.
413         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
415 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
417         * configure: Regenerated.
419 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
421         * configure: Regenerated.
423 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
425         PR jit/85384
426         * configure: Regenerate.
428 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
430         PR target/84148
431         * configure: Regenerate.
433 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
435         * libquadmath.texi: Bump @copying's copyright year.
437 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
439         * Makefile.am: Update AM_CFLAGS.
440         * Makefile.in: Regenerate:
441         * acinclude.m4: Add enable.m4 and cet.m4.
442         * configure: Regenerate.
443         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
445 2017-11-05  Tom de Vries  <tom@codesourcery.com>
447         PR other/82784
448         * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
449         "do {} while (0)".
451 2017-09-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
453         PR libquadmath/81848
454         * configure.ac (powerpc*-linux*): Use attribute mode KC to create
455         complex __float128 on PowerPC instead of attribute mode TC.
456         * quadmath.h (__complex128): Likewise.
457         * configure: Regenerate.
458         * math/cbrtq.c (CBRT2): Use __float128 not long double.
459         (CBRT4): Likewise.
460         (CBRT2I): Likewise.
461         (CBRT4I): Likewise.
462         * math/j0q.c (U0): Likewise.
463         * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
464         between __float128, instead explicitly convert the __float128
465         value to long double because the PowerPC does not allow __float128
466         and long double in the same expression.
468 2017-07-19  Gerald Pfeifer  <gerald@pfeifer.com>
470         * math/powq.c (powq): Use uint32_t instead of u_int32_t.
472 2017-07-19  Jakub Jelinek  <jakub@redhat.com>
474         PR libquadmath/65757
475         * quadmath-imp.h (math_opt_barrier, math_force_eval,
476         math_narrow_eval, math_check_force_underflow,
477         math_check_force_underflow_nonneg): Define.
478         * math/ceilq.c: Backport changes from upstream glibc
479         between 2012-11-01 and 2017-07-13.
480         * math/remquoq.c: Likewise.
481         * math/expq.c: Likewise.
482         * math/llroundq.c: Likewise.
483         * math/logq.c: Likewise.
484         * math/atanq.c: Likewise.
485         * math/nearbyintq.c: Likewise.
486         * math/scalblnq.c: Likewise.
487         * math/finiteq.c: Likewise.
488         * math/atanhq.c: Likewise.
489         * math/expm1q.c: Likewise.
490         * math/sinhq.c: Likewise.
491         * math/log10q.c: Likewise.
492         * math/rintq.c: Likewise.
493         * math/roundq.c: Likewise.
494         * math/fmaq.c: Likewise.
495         * math/erfq.c: Likewise.
496         * math/log2q.c: Likewise.
497         * math/lroundq.c: Likewise.
498         * math/j1q.c: Likewise.
499         * math/scalbnq.c: Likewise.
500         * math/truncq.c: Likewise.
501         * math/frexpq.c: Likewise.
502         * math/sincosq.c: Likewise.
503         * math/tanhq.c: Likewise.
504         * math/asinq.c: Likewise.
505         * math/coshq.c: Likewise.
506         * math/j0q.c: Likewise.
507         * math/asinhq.c: Likewise.
508         * math/floorq.c: Likewise.
509         * math/sinq_kernel.c: Likewise.
510         * math/powq.c: Likewise.
511         * math/hypotq.c: Likewise.
512         * math/sincos_table.c: Likewise.
513         * math/rem_pio2q.c: Likewise.
514         * math/nextafterq.c: Likewise.
515         * math/log1pq.c: Likewise.
516         * math/sincosq_kernel.c: Likewise.
517         * math/tanq.c: Likewise.
518         * math/acosq.c: Likewise.
519         * math/lrintq.c: Likewise.
520         * math/llrintq.c: Likewise.
522 2017-02-09  Gerald Pfeifer  <gerald@pfeifer.com>
524         * configure.ac (ACX_BUGURL): Update.
525         * configure: Regenerate.
527 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
529         PR other/79046
530         * configure.ac: Add GCC_BASE_VER.
531         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
532         get version from BASE-VER file.
533         * configure: Regenerated.
534         * Makefile.in: Regenerated.
536 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
538         * libquadmath.texi: Bump @copying's copyright year.
540 2016-11-15  Matthias Klose  <doko@ubuntu.com>
542         * configure: Regenerate.
544 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
546         * libquadmath.texi: Bump @copying's copyright year.
548 2015-08-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
550         * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
551         * Makefile.in: Regenerate.
552         * libquadmath.texi: Document logbq.
553         * quadmath.h: Add logbq prototype.
554         * quadmath.map: Add logbq.
555         * quadmath_weak.h: Add logbq prototype.
556         * math/logbq.c: New file
558 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
560         * Makefile.in: Regenerated with automake-1.11.6.
561         * aclocal.m4: Likewise.
562         * configure: Likewise.
564 2015-01-26  Matthias Klose  <doko@ubuntu.com>
566         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
567         * configure: Regenerate.
569 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
571         * libquadmath.texi: Bump @copying's copyright year.
573 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
575         PR bootstrap/63784
576         * configure: Regenerated.
578 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
580         PR target/63610
581         * configure: Regenerate.
583 2014-10-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
585         PR libquadmath/55821
586         * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
587         * Makefile.in: Regenerate.
589 2014-10-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
591         PR libquadmath/55821
592         * Makefile.am: Conditionally define info_TEXINFOS and
593         libquadmath_TEXINFOS.
594         * Makefile.in: Regenerate.
596 2014-10-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
598         PR libquadmath/63487
599         * libquadmath.texi (sincosq): Fix typo.
601 2014-01-02  Tobias Burnus  <burnus@net-b.de>
603         * libquadmath.texi: Bump @copying's copyright year.
605 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
607         * Makefile.am (AM_CPPFLAGS): Define.
608         * Makefile.in: Regenerate.
609         * printf/gmp-impl.h: Remove path from longlong.h include.
611 2013-09-20  Alan Modra  <amodra@gmail.com>
613         * configure: Regenerate.
615 2013-03-06  Shakthi Kannan  <shakthimaan@gmail.com>
617         PR libquadmath/55473
618         * quadmath.h: Add 'extern "C"' block for C++ use.
620 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
622         PR libquadmath/56379
623         * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
624         macro.
626 2013-02-17  Tobias Burnus  <burnus@net-b.de>
628         * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
630 2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
632         Revert previous patch.
634 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
636         Update copyright years.
638 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
640         PR libquadmath/56072
641         * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
643 2012-12-13  Jakub Jelinek  <jakub@redhat.com>
645         * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
646         instead of L suffixed ones.
647         * math/fmaq.c (fmaq): Likewise.
648         * math/rintq.c (TWO112): Likewise.
650 2012-12-03  Tobias Burnus  <burnus@net-b.de>
652         * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
653         reading.
655 2012-11-25  Tobias Burnus  <burnus@net-b.de>
657         PR libquadmath/55462
658         * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
659         instead of nonexisting HAVE_GET_ROUNDING_MODE.
661 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
663         PR bootstrap/55455
664         * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
665         void to fegetround.
667 2012-11-23  Tobias Burnus  <burnus@net-b.de>
668             Joseph Myers  <joseph@codesourcery.com>
670         * quadmath-rounding-mode.h: New.
671         * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
672         * printf/fpioconst.h: Ditto.
673         * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
674         Make printf respect the rounding mode for decimal output.
675         * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
676         GLIBC.  Make printf respect the rounding mode for hex output.
677         * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
678         rounding mode. Fix strtod handling of underflow.
680 2012-11-22  David S. Miller  <davem@davemloft.net>
681             Tobias Burnus  <burnus@net-b.de>
682             Joseph Myers  <joseph@codesourcery.com>
684         * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
685         very large arguments properly.
686         * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
687         underflow when 'x' is very small.
688         * math/j1q.c (y1q): Ditto.
689         * math/log1pq.c (log1pq): Update from GLIBC. Saturate
690         nonzero exponents with absolute value below 0x1p-128 to
691         +/- 0x1p-128.
692         * math/powq.c (powq): Update from GLIBC. If xm1 is
693         smaller than LDBL_EPSILON/2.0L, just return xm1.
695 2012-11-21  Tobias Burnus  <burnus@net-b.de>
697         PR libquadmath/55225
698         * math/lgammaq.c (lgammaq): Use local variable if
699         math.h does not provide signgam.
700         * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
701         * configure.ac: Use it.
702         * configure: Regenerate.
703         * config.h.in: Regenerate.
705 2012-11-15  Tobias Burnus  <burnus@net-b.de>
706             Joseph Myers  <joseph@codesourcery.com>
708         * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
709         underflows with small x * y; Fix overflow results
710         outside round-to-nearest mode; make use of Dekker
711         and Knuth algorithms use round-to-nearest.
713 2012-11-01  Tobias Burnus  <burnus@net-b.de>
715         * math/fmaq.c (fmaq): Fix build.
717 2012-11-01  Tobias Burnus  <burnus@net-b.de>
718             Joseph Myers  <joseph@codesourcery.com>
720         * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
721         with small x * y using scaling, not as x * y + z.
722         * math/lgammaq.c (lgammaq): Fix signgam handling.
724 2012-11-01  Tobias Burnus  <burnus@net-b.de>
726         * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
727         * Makefile.in: Regenerated.
728         * math/acoshq.c: Update comment.
729         * math/acosq.c: Ditto.
730         * math/asinhq.c: Ditto.
731         * math/asinq.c: Ditto.
732         * math/atan2q.c: Ditto.
733         * math/atanhq.c: Ditto.
734         * math/ceilq.c: Ditto.
735         * math/copysignq.c: Ditto.
736         * math/cosq.c: Ditto.
737         * math/coshq.c: Ditto.
738         * math/erfq.c: Ditto.
739         * math/fabsq.c: Ditto.
740         * math/finiteq.c: Ditto.
741         * math/floorq.c: Ditto.
742         * math/fmodq.c: Ditto.
743         * math/frexpq.c: Ditto.
744         * math/isnanq.c: Ditto.
745         * math/j0q.c: Ditto.
746         * math/j1q.c: Ditto.
747         * math/ldexpq.c: Ditto.
748         * math/llroundq.c: Ditto.
749         * math/log10q.c: Ditto.
750         * math/log1pq.c: Ditto.
751         * math/log2q.c: Ditto.
752         * math/logq.c: Ditto.
753         * math/lroundq.c: Ditto.
754         * math/modfq.c: Ditto.
755         * math/nextafterq.c: Ditto.
756         * math/powq.c: Ditto.
757         * math/rem_pio2q.c: Ditto.
758         * math/remainderq.c: Ditto.
759         * math/rintq.c: Ditto.
760         * math/roundq.c: Ditto.
761         * math/scalblnq.c: Ditto.
762         * math/scalbnq.c: Ditto.
763         * math/sincosq_kernel.c: Ditto.
764         * math/sinq.c: Ditto.
765         * math/tanq.c: Ditto.
766         * math/expq.c: Ditto.
767         (__expq_table, expq): Renamed local array from __expl_table.
768         * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
769         * math/cacoshq.c: Changes from GLIBC; fix returned sign.
770         * math/casinhq.c: Changes from GLIBC to fix special-case.
771         * math/cbrtq.c: Use modified GLIBC version.
772         * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
773         ctanhq, ctanq): Moved to separates files.
774         (mult_c128, div_c128): Removed no longer needed functions.
775         (cexpiq): Call sincosq instead of sinq and cosq.
776         (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
777         * math/ccoshq.c (ccoshq): New file, moved from complex.c and
778         modified based on GLIBC.
779         * math/cexpq.c (cexp): Ditto.
780         * math/clog10q.c (clog10q): Ditto.
781         * math/clogq.c (clogq): Ditto.
782         * math/csinhq.c: Ditto.
783         * math/csinq.c: Ditto.
784         * math/csqrtq.c: Ditto.
785         * math/ctanhq.c: Ditto.
786         * math/ctanq.c: Ditto.
787         * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
788         from GLIBC.
789         * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
790         * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
791         from GLIBC.
792         * math/lgammaq.c (lgammaq): Add signgam handling.
793         * math/sinhq.c (sinhq): Fix sign handling.
794         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
795         * math/tgammaq.c (tgammaq): Ditto.
796         * math/x2y2m1q.c: New file.
797         * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
798         (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
800 2012-10-31  Tobias Burnus  <burnus@net-b.de>
801             Joseph Myers <joseph@codesourcery.com>
802             David S. Miller <davem@davemloft.net>
803             Ulrich Drepper <drepper@redhat.com>
804             Marek Polacek <polacek@redhat.com>:
805             Petr Baudis <pasky@suse.cz>
807         * math/complex.c (csqrtq): NaN and INF fixes. 
808         * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
809         * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
810         large parameters. Fix errno for boundary conditions.
811         * math/finiteq.c (finiteq): Add comment.
812         * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
813         and bad results for some subnormal results. Fix sign of inexact
814         zero return. Fix sign of exact zero return. 
815         Ensure additions are not scheduled after fetestexcept.
816         * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
817         for ynq. Fix jnq precision.
818         * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
819         manipulate bits before adding and subtracting TWO112[sx].
820         * math/rintq.c (rintq): Ditto.
821         * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
822         overflow.
824 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
826         * configure: Regenerated.
828 2012-05-29  Benjamin Kosnik  <bkoz@redhat.com>
830         PR libstdc++/51007
831         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
832         * configure: Regenerated.
834 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
836         * configure: Regenerated.
838 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
840         * configure: Regenerate.
842 2011-11-07  Kai Tietz  <ktietz@redhat.com>
844         PR target/51007
845         * quadmath-imp.h (ieee854_float128): Adjust
846         for ms-bitfield layout.
848 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
850         * printf/gmp-impl.h: Adapt path to longlong.h.
852 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
854         * Makefile.am (FLAGS_TO_PASS): Define.
855         * Makefile.in: Regenerate.
857 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
859         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
860         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
862 2011-04-03  Tobias Burnus  <burnus@net-b.de>
864         PR fortran/48311
865         * libquadmath.texi (strtoflt128): Fix typo.
866         (quadmath_snprintf): Move note up, make @item.
868 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
870         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
871         mempcpy.
873 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
875         PR bootstrap/48135
876         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
877         * configure: Regenerate.
879 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
881         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
882         that for size > 0 str is always zero terminated.
884 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
886         PR bootstrap/47827
887         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
889 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
891         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
892         FLT128_MAX_10_EXP): Document.
893         (strtoflt128): Remove obsolete comment.
894         * configure.ac (HAVE_STRTOULL): New check.
895         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
896         define.
897         * printf/mul_n.c: Include <config.h>.
898         * printf/add_n.c: Likewise.
899         * printf/cmp.c: Likewise.
900         * printf/fpioconst.c: Likewise.
901         * printf/mul_1.c: Likewise.
902         * printf/rshift.c: Likewise.
903         * printf/lshift.c: Likewise.
904         * printf/submul_1.c: Likewise.
905         * printf/sub_n.c: Likewise.
906         * printf/divrem.c: Likewise.
907         * printf/addmul_1.c: Likewise.
908         * printf/mul.c: Likewise.
909         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
910         to avoid evaluating argument multiple times.
911         (isxdigit): Redefine.
912         * strtod/strtoflt128.c: New file.
913         * strtod/strtod_l.c: New file.
914         * strtod/mpn2flt128.c: New file.
915         * strtod/grouping.h: New file.
916         * strtod/tens_in_limb.c: New file.
917         * gdtoa/arith.h: Removed.
918         * gdtoa/gd_qnan.h: Removed.
919         * gdtoa/gdtoa_fltrnds.h: Removed.
920         * gdtoa/gdtoa.h: Removed.
921         * gdtoa/gdtoaimp.h: Removed.
922         * gdtoa/gethex.c: Removed.
923         * gdtoa/gmisc.c: Removed.
924         * gdtoa/hd_init.c: Removed.
925         * gdtoa/hexnan.c: Removed.
926         * gdtoa/makefile: Removed.
927         * gdtoa/misc.c: Removed.
928         * gdtoa/README.gdtoa: Removed.
929         * gdtoa/smisc.c: Removed.
930         * gdtoa/strtodg.c: Removed.
931         * gdtoa/strtopQ.c: Removed.
932         * gdtoa/sum.c: Removed.
933         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
934         Define.
935         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
936         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
937         * config.h.in: Regenerated.
938         * configure: Regenerated.
939         * Makefile.in: Regenerated.
941 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
943         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
944         whether workarounds for printf hook handling should be added.
946         * configure.ac: Check for locale.h too.
947         (USE_LOCALE_SUPPORT): Remove check.
948         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
949         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
950         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
951         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
952         for wide version.
953         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
954         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
955         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
956         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
957         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
958         USE_I18N_NUMBER_H #ifdef.
959         * configure: Regenerated.
960         * config.h.in: Regenerated.
962 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
964         PR bootstrap/47736
965         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
966         user field.
967         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
968         field instead of setting individual fields to 0.  Don't set info.user
969         to -1.
970         * configure: Regenerated.
972         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
973         * printf/printf_fp.c: Don't include <alloca.h>.
974         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
975         * configure: Regenerated.
977         PR fortran/47642
978         * libquadmath.texi (quadmath_snprintf): Document.
979         (quadmath_flt128tostr): Remove.
980         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
981         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
982         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
983         * quadmath.h (quadmath_snprintf): New prototype.
984         (quadmath_flt128tostr): Remove.
985         * quadmath_weak.h (quadmath_snprintf): Add.
986         (quadmath_flt128tostr): Remove.
987         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
988         wctype.h, limits.h, ctype.h, printf.h, errno.h.
989         (AC_USE_SYSTEM_EXTENSIONS): Add.
990         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
991         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
992         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
993         quadmath_flt128tostr.
994         * printf/printf_fphex.c: New file.
995         * printf/_itowa.h: New file.
996         * printf/mul_n.c: New file.
997         * printf/quadmath-printf.h: New file.
998         * printf/submul_1.c: New file.
999         * printf/quadmath-printf.c: New file.
1000         * printf/gmp-impl.h: New file.
1001         * printf/lshift.c: New file.
1002         * printf/fpioconst.h: New file.
1003         * printf/add_n.c: New file.
1004         * printf/cmp.c: New file.
1005         * printf/sub_n.c: New file.
1006         * printf/mul.c: New file.
1007         * printf/divrem.c: New file.
1008         * printf/addmul_1.c: New file.
1009         * printf/printf_fp.c: New file.
1010         * printf/_itoa.h: New file.
1011         * printf/fpioconst.c: New file.
1012         * printf/_i18n_number.h: New file.
1013         * printf/flt1282mpn.c: New file.
1014         * printf/rshift.c: New file.
1015         * printf/mul_1.c: New file.
1016         * quadmath_io.c: Removed.
1017         * gdtoa/gdtoa.c: Removed.
1018         * gdtoa/g__fmt.c: Removed.
1019         * gdtoa/g_Qfmt.c: Removed.
1020         * gdtoa/dmisc.c: Removed.
1021         * gdtoa/ulp.c: Removed.
1022         * config.h.in: Regenerated.
1023         * configure: Regenerated.
1024         * Makefile.in: Regenerated.
1026 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1028         * Makefile.in: Regenerate.
1029         * aclocal.m4: Likewise.
1030         * configure: Likewise.
1032 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
1034         PR libquadmath/47293
1035         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
1036         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
1038 2011-01-17  Tobias Burnus  <burnus@net-b.de>
1040         PR fortran/47295
1041         * libquadmath.text: Document typedef and constants.
1043 2011-01-17  Tobias Burnus  <burnus@net-b.de>
1045         PR fortran/46817
1046         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
1047         bump copyright year and use /**/ instead of // comments.
1048         * quadmath.h: Ditto.
1049         * quadmath-weak.h: Ditto.
1050         * quadmath_io.c: Ditto.
1052 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
1054         PR libfortran/47322
1055         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
1057         PR fortran/46625
1058         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
1059         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
1060         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
1061         (strtoflt128, quadmath_flt128tostr): Add.
1062         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
1063         (strtoflt128): ... this.  Return __float128, instead of writing
1064         to memory pointed by last argument.
1065         * quadmath.h: Use C style comments instead of C++ style.
1066         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
1067         (strtoflt128, quadmath_flt128tostr): Add prototypes.
1068         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
1069         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
1070         adjust examples.
1071         * quadmath_io.c (quadmath_dtoaq): Rename to...
1072         (quadmath_flt128tostr): ... this.
1074         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
1075         Use it for all prototypes.
1077         PR fortran/46416
1078         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
1079         const from prototype argument.
1080         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
1081         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
1082         (__quadmath_extern_inline): Define.
1083         (cimagq, conjq, crealq): New inlines.
1084         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
1085         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
1086         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
1087         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
1088         * Makefile.in: Regenerated.
1089         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
1090         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
1091         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
1092         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
1093         tests instead of __BIG_ENDIAN__.
1094         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
1095         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
1096         and remquoq.
1097         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
1098         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
1099         * math/cprojq.c: New file.
1100         * math/ilogbq.c: New file.
1101         * math/fminq.c: New file.
1102         * math/llrintq.c: New file.
1103         * math/log2q.c: New file.
1104         * math/lrintq.c: New file.
1105         * math/crealq.c: New file.
1106         * math/nearbyintq.c: New file.
1107         * math/fmaxq.c: New file.
1108         * math/conjq.c: New file.
1109         * math/remquoq.c: New file.
1110         * math/cimagq.c: New file.
1111         * math/fdimq.c: New file.
1113         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
1115         PR fortran/46416
1116         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
1117         New prototypes.
1118         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
1119         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
1120         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
1121         catanhq): Add.
1122         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
1123         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
1124         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
1125         catanq and catanhq.
1126         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
1127         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
1128         and math/catanhq.c.
1129         * Makefile.in: Regenerated.
1130         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
1131         catanq, catanhq): Add.
1132         * math/cacoshq.c: New file.
1133         * math/cacosq.c: New file.
1134         * math/catanq.c: New file.
1135         * math/catanhq.c: New file.
1136         * math/casinq.c: New file.
1137         * math/casinhq.c: New file.
1139         * math/hypotq.c (hypotq): Use Q suffix instead of L.
1140         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
1141         * math/cosq.c (cosq): Likewise.
1143         PR fortran/46402
1144         * quadmath.map (QUADMATH_1.0): Add fmaq.
1145         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
1146         feupdateenv, fesetenv and fetestexcept.
1147         * configure: Regenerated.
1148         * config.h.in: Regenerated.
1149         * quadmath.h (fmaq): New prototype.
1150         * quadmath_weak.h (fmaq): Add.
1151         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
1152         * Makefile.in: Regenerated.
1153         * quadmath-imp.h: Include config.h.
1154         * math/expq.c: Include fenv.h.
1155         (USE_FENV_H): Define if libm support for fe* is there.
1156         (expq): Add fesetround etc. support if USE_FENV_H is defined.
1157         * math/fmaq.c: New file.
1158         * libquadmath.texi (fmaq): Add.
1160 2011-01-14  Tobias Burnus  <burnus@net-b.de>
1162         PR fortran/47182
1163         * configure.ac: Use ACX_BUGURL.
1164         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
1165         * Makefile.am: Create libquadmath-vers.texi.
1166         * configure.in: Regenerate.
1167         * Makefile.in: Regenerate.
1169 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1171         PR fortran/47174
1172         * Makefile.am (libquadmath.info): Unconditionally override
1173         target, not only if BUILD_LIBQUADMATH.
1174         * Makefile.in: Regenerate.
1175         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
1176         avoid warning from automake.
1178 2010-12-19  Tobias Burnus  <burnus@net-b.de>
1180         PR fortran/46520
1181         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
1182         * configure: Regenerate
1184 2010-12-13  Tobias Burnus  <burnus@net-b.de>
1186         PR fortran/46625
1187         * gdtoa/gdtoaimp.h: Mangle internal functions by
1188         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
1189         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
1190         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
1191         if NO_STRING_H is set.
1192         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
1193         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
1194         __quadmath prefix to internal functions.
1195         * math/cosq.c (cosq): Ditto.
1196         * math/sinq.c (cosq): Ditto.
1197         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
1198         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
1199         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
1200         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
1202 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1204         PR fortran/46772
1205         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
1206         * gdtoa/gdtoaimp.h: Don't declare strtod.
1208 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1210         PR fortran/46520
1211         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
1212         AC_TRY_LINK and cache libquad_have_float128.
1213         * configure: Regenerate.
1215 2010-12-08  Tobias Burnus  <burnus@net-b.de>
1217         PR fortran/46543
1218         * configure.ac: Add texinfo checks.
1219         * Makefile.am: Handle .texi documentation.
1220         * libquadmath.texi: New.
1221         * configure: Regenerated.
1222         * Makefile.in: Regenerated.
1224 2010-12-06  Tobias Burnus  <burnus@net-b.de>
1226         PR fortran/46817
1227         * quadmath-imp.h: Add LGPL header.
1228         * quadmath.h: Add LGPL header.
1229         * quadmath_io.c: Add LGPL header.
1230         * quadmath_weak.h: Add LGPL header.
1232 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1234         PR target/40125
1235         PR lto/46695
1236         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
1237         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
1238         * aclocal.m4: Regenerate.
1239         * configure: Regenerate.
1240         * Makefile.in: Regenerate.
1242 2010-11-30  Tobias Burnus  <burnus@net-b.de>
1244         PR fortran/46594
1245         * Makefile.am: Install include files in
1246         target/version specific directory.
1247         * Makefile.in: Regenerate.
1249 2010-11-30  Tobias Burnus  <burnus@net-b.de>
1251         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
1252         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
1253         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
1255 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
1257         * configure: Regenerated.
1258         * Makefile.in: Regenerated.
1259         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
1260         (target_alias): Use AC_SUBST for it.
1261         (GCC_NO_EXECUTABLES): Call it.
1262         (AC_PROG_CC): Improve multilib handling.
1263         Check that gcc is used for compilation.
1264         Use pattern from libssp for symbol versioning checking.
1265         * Makefile.am (LTLDFLAGS): Removed.
1266         (libquadmath_la_LDFLAGS): Add -no-undefined.
1267         (libquadmath_la_LINK): Commented out.
1268         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
1269         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
1270         (MAKEOVERRIDES): New.
1271         * aclocal.m4: Regenerated.
1273 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1275         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
1276         (libquadmath_la_LDFLAGS): ... here.
1277         (quadmath.map-sun): Tabify.
1278         Fix sed expression.
1279         * Makefile.in: Regenerate.
1281 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1282             Tobias Burnus  <burnus@net-b.de>
1284         PR fortran/32049
1285         Initial implementation and checkin.
1287 Copyright (C) 2010-2018 Free Software Foundation, Inc.
1289 Copying and distribution of this file, with or without modification,
1290 are permitted in any medium without royalty provided the copyright
1291 notice and this notice are preserved.