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