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