]> git.ipfire.org Git - thirdparty/gcc.git/blame - libquadmath/ChangeLog
re PR target/85511 ([X86] Using __builtin_ia32_writeeflags_u32 in 64-bit mode causes...
[thirdparty/gcc.git] / libquadmath / ChangeLog
CommitLineData
a0e1df88
JJ
12018-04-19 Jakub Jelinek <jakub@redhat.com>
2
3 * configure: Regenerated.
4
001ddaa8
DM
52018-04-18 David Malcolm <dmalcolm@redhat.com>
6
7 PR jit/85384
8 * configure: Regenerate.
9
14e335ed
IT
102018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11
12 PR target/84148
13 * configure: Regenerate.
14
65e6aea3
JJ
152018-01-03 Jakub Jelinek <jakub@redhat.com>
16
17 * libquadmath.texi: Bump @copying's copyright year.
18
192017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
fda26abe
IT
20
21 * Makefile.am: Update AM_CFLAGS.
22 * Makefile.in: Regenerate:
23 * acinclude.m4: Add enable.m4 and cet.m4.
24 * configure: Regenerate.
25 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
26
51c20aa3
TV
272017-11-05 Tom de Vries <tom@codesourcery.com>
28
29 PR other/82784
30 * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
31 "do {} while (0)".
32
0c949f0a
MM
332017-09-01 Michael Meissner <meissner@linux.vnet.ibm.com>
34
35 PR libquadmath/81848
36 * configure.ac (powerpc*-linux*): Use attribute mode KC to create
37 complex __float128 on PowerPC instead of attribute mode TC.
38 * quadmath.h (__complex128): Likewise.
39 * configure: Regenerate.
40 * math/cbrtq.c (CBRT2): Use __float128 not long double.
41 (CBRT4): Likewise.
42 (CBRT2I): Likewise.
43 (CBRT4I): Likewise.
44 * math/j0q.c (U0): Likewise.
45 * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
46 between __float128, instead explicitly convert the __float128
47 value to long double because the PowerPC does not allow __float128
48 and long double in the same expression.
49
a8d6055a
GP
502017-07-19 Gerald Pfeifer <gerald@pfeifer.com>
51
52 * math/powq.c (powq): Use uint32_t instead of u_int32_t.
53
1eba0867
JJ
542017-07-19 Jakub Jelinek <jakub@redhat.com>
55
56 PR libquadmath/65757
57 * quadmath-imp.h (math_opt_barrier, math_force_eval,
58 math_narrow_eval, math_check_force_underflow,
59 math_check_force_underflow_nonneg): Define.
60 * math/ceilq.c: Backport changes from upstream glibc
61 between 2012-11-01 and 2017-07-13.
62 * math/remquoq.c: Likewise.
63 * math/expq.c: Likewise.
64 * math/llroundq.c: Likewise.
65 * math/logq.c: Likewise.
66 * math/atanq.c: Likewise.
67 * math/nearbyintq.c: Likewise.
68 * math/scalblnq.c: Likewise.
69 * math/finiteq.c: Likewise.
70 * math/atanhq.c: Likewise.
71 * math/expm1q.c: Likewise.
72 * math/sinhq.c: Likewise.
73 * math/log10q.c: Likewise.
74 * math/rintq.c: Likewise.
75 * math/roundq.c: Likewise.
76 * math/fmaq.c: Likewise.
77 * math/erfq.c: Likewise.
78 * math/log2q.c: Likewise.
79 * math/lroundq.c: Likewise.
80 * math/j1q.c: Likewise.
81 * math/scalbnq.c: Likewise.
82 * math/truncq.c: Likewise.
83 * math/frexpq.c: Likewise.
84 * math/sincosq.c: Likewise.
85 * math/tanhq.c: Likewise.
86 * math/asinq.c: Likewise.
87 * math/coshq.c: Likewise.
88 * math/j0q.c: Likewise.
89 * math/asinhq.c: Likewise.
90 * math/floorq.c: Likewise.
91 * math/sinq_kernel.c: Likewise.
92 * math/powq.c: Likewise.
93 * math/hypotq.c: Likewise.
94 * math/sincos_table.c: Likewise.
95 * math/rem_pio2q.c: Likewise.
96 * math/nextafterq.c: Likewise.
97 * math/log1pq.c: Likewise.
98 * math/sincosq_kernel.c: Likewise.
99 * math/tanq.c: Likewise.
100 * math/acosq.c: Likewise.
101 * math/lrintq.c: Likewise.
102 * math/llrintq.c: Likewise.
103
19e30111
GP
1042017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
105
106 * configure.ac (ACX_BUGURL): Update.
107 * configure: Regenerate.
108
3c36aa6b
JJ
1092017-01-17 Jakub Jelinek <jakub@redhat.com>
110
111 PR other/79046
112 * configure.ac: Add GCC_BASE_VER.
113 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
114 get version from BASE-VER file.
115 * configure: Regenerated.
116 * Makefile.in: Regenerated.
117
c1a9c369
JJ
1182017-01-01 Jakub Jelinek <jakub@redhat.com>
119
120 * libquadmath.texi: Bump @copying's copyright year.
121
84c1b9d3
MK
1222016-11-15 Matthias Klose <doko@ubuntu.com>
123
124 * configure: Regenerate.
125
21fa2a29
JJ
1262016-01-04 Jakub Jelinek <jakub@redhat.com>
127
128 * libquadmath.texi: Bump @copying's copyright year.
129
03c02a42
FXC
1302015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
131
84c1b9d3 132 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
03c02a42
FXC
133 * Makefile.in: Regenerate.
134 * libquadmath.texi: Document logbq.
135 * quadmath.h: Add logbq prototype.
136 * quadmath.map: Add logbq.
137 * quadmath_weak.h: Add logbq prototype.
138 * math/logbq.c: New file
139
5d79f496
MH
1402015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
141
142 * Makefile.in: Regenerated with automake-1.11.6.
143 * aclocal.m4: Likewise.
144 * configure: Likewise.
145
ee5f0523
MK
1462015-01-26 Matthias Klose <doko@ubuntu.com>
147
148 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
149 * configure: Regenerate.
150
b67cd4e3
JJ
1512015-01-05 Jakub Jelinek <jakub@redhat.com>
152
153 * libquadmath.texi: Bump @copying's copyright year.
154
a699d672
L
1552014-11-21 H.J. Lu <hongjiu.lu@intel.com>
156
157 PR bootstrap/63784
158 * configure: Regenerated.
159
ebf6d33b
FXC
1602014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
161
162 PR target/63610
163 * configure: Regenerate.
164
0f01f740
FXC
1652014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
166
167 PR libquadmath/55821
168 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
169 * Makefile.in: Regenerate.
170
9d55066c
FXC
1712014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
172
173 PR libquadmath/55821
174 * Makefile.am: Conditionally define info_TEXINFOS and
175 libquadmath_TEXINFOS.
176 * Makefile.in: Regenerate.
177
90c0d4c4
FXC
1782014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
179
180 PR libquadmath/63487
181 * libquadmath.texi (sincosq): Fix typo.
182
98db73df
TB
1832014-01-02 Tobias Burnus <burnus@net-b.de>
184
185 * libquadmath.texi: Bump @copying's copyright year.
186
b21fbbd2
RS
1872013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
188
189 * Makefile.am (AM_CPPFLAGS): Define.
190 * Makefile.in: Regenerate.
191 * printf/gmp-impl.h: Remove path from longlong.h include.
192
3cbe17f7
AM
1932013-09-20 Alan Modra <amodra@gmail.com>
194
195 * configure: Regenerate.
196
5709153c
SK
1972013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
198
199 PR libquadmath/55473
200 * quadmath.h: Add 'extern "C"' block for C++ use.
201
d6988187
JJ
2022013-02-19 Jakub Jelinek <jakub@redhat.com>
203
204 PR libquadmath/56379
205 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
206 macro.
207
162ceab4
TB
2082013-02-17 Tobias Burnus <burnus@net-b.de>
209
210 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
211
1b78544f
RS
2122013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
213
214 Revert previous patch.
215
1a41c323
RS
2162013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
217
218 Update copyright years.
219
7ab53cfd
JJ
2202013-01-22 Jakub Jelinek <jakub@redhat.com>
221
222 PR libquadmath/56072
223 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
224
de137957
JJ
2252012-12-13 Jakub Jelinek <jakub@redhat.com>
226
227 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
228 instead of L suffixed ones.
229 * math/fmaq.c (fmaq): Likewise.
230 * math/rintq.c (TWO112): Likewise.
231
36402bb1
TB
2322012-12-03 Tobias Burnus <burnus@net-b.de>
233
234 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
235 reading.
236
24a9cea6
TB
2372012-11-25 Tobias Burnus <burnus@net-b.de>
238
239 PR libquadmath/55462
240 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
241 instead of nonexisting HAVE_GET_ROUNDING_MODE.
242
1773438a
L
2432012-11-23 H.J. Lu <hongjiu.lu@intel.com>
244
245 PR bootstrap/55455
246 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
247 void to fegetround.
248
05abb346
TB
2492012-11-23 Tobias Burnus <burnus@net-b.de>
250 Joseph Myers <joseph@codesourcery.com>
251
252 * quadmath-rounding-mode.h: New.
253 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
254 * printf/fpioconst.h: Ditto.
255 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
256 Make printf respect the rounding mode for decimal output.
257 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
258 GLIBC. Make printf respect the rounding mode for hex output.
259 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
260 rounding mode. Fix strtod handling of underflow.
261
7cf8c994
DM
2622012-11-22 David S. Miller <davem@davemloft.net>
263 Tobias Burnus <burnus@net-b.de>
264 Joseph Myers <joseph@codesourcery.com>
265
266 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
267 very large arguments properly.
268 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
269 underflow when 'x' is very small.
270 * math/j1q.c (y1q): Ditto.
271 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
272 nonzero exponents with absolute value below 0x1p-128 to
273 +/- 0x1p-128.
274 * math/powq.c (powq): Update from GLIBC. If xm1 is
275 smaller than LDBL_EPSILON/2.0L, just return xm1.
276
5a09d908
TB
2772012-11-21 Tobias Burnus <burnus@net-b.de>
278
279 PR libquadmath/55225
280 * math/lgammaq.c (lgammaq): Use local variable if
281 math.h does not provide signgam.
282 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
283 * configure.ac: Use it.
284 * configure: Regenerate.
285 * config.h.in: Regenerate.
286
7ee2eb82
TB
2872012-11-15 Tobias Burnus <burnus@net-b.de>
288 Joseph Myers <joseph@codesourcery.com>
289
290 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
291 underflows with small x * y; Fix overflow results
292 outside round-to-nearest mode; make use of Dekker
293 and Knuth algorithms use round-to-nearest.
294
2749bf29
TB
2952012-11-01 Tobias Burnus <burnus@net-b.de>
296
297 * math/fmaq.c (fmaq): Fix build.
298
e4320d7d
TB
2992012-11-01 Tobias Burnus <burnus@net-b.de>
300 Joseph Myers <joseph@codesourcery.com>
301
302 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
303 with small x * y using scaling, not as x * y + z.
304 * math/lgammaq.c (lgammaq): Fix signgam handling.
305
f029f4be
TB
3062012-11-01 Tobias Burnus <burnus@net-b.de>
307
308 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
309 * Makefile.in: Regenerated.
310 * math/acoshq.c: Update comment.
311 * math/acosq.c: Ditto.
312 * math/asinhq.c: Ditto.
313 * math/asinq.c: Ditto.
314 * math/atan2q.c: Ditto.
315 * math/atanhq.c: Ditto.
316 * math/ceilq.c: Ditto.
317 * math/copysignq.c: Ditto.
318 * math/cosq.c: Ditto.
319 * math/coshq.c: Ditto.
320 * math/erfq.c: Ditto.
321 * math/fabsq.c: Ditto.
322 * math/finiteq.c: Ditto.
323 * math/floorq.c: Ditto.
324 * math/fmodq.c: Ditto.
325 * math/frexpq.c: Ditto.
326 * math/isnanq.c: Ditto.
327 * math/j0q.c: Ditto.
328 * math/j1q.c: Ditto.
329 * math/ldexpq.c: Ditto.
330 * math/llroundq.c: Ditto.
331 * math/log10q.c: Ditto.
332 * math/log1pq.c: Ditto.
333 * math/log2q.c: Ditto.
334 * math/logq.c: Ditto.
335 * math/lroundq.c: Ditto.
336 * math/modfq.c: Ditto.
337 * math/nextafterq.c: Ditto.
338 * math/powq.c: Ditto.
339 * math/rem_pio2q.c: Ditto.
340 * math/remainderq.c: Ditto.
341 * math/rintq.c: Ditto.
342 * math/roundq.c: Ditto.
343 * math/scalblnq.c: Ditto.
344 * math/scalbnq.c: Ditto.
345 * math/sincosq_kernel.c: Ditto.
346 * math/sinq.c: Ditto.
347 * math/tanq.c: Ditto.
348 * math/expq.c: Ditto.
349 (__expq_table, expq): Renamed local array from __expl_table.
350 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
351 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
352 * math/casinhq.c: Changes from GLIBC to fix special-case.
353 * math/cbrtq.c: Use modified GLIBC version.
354 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
355 ctanhq, ctanq): Moved to separates files.
356 (mult_c128, div_c128): Removed no longer needed functions.
357 (cexpiq): Call sincosq instead of sinq and cosq.
358 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
359 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
360 modified based on GLIBC.
361 * math/cexpq.c (cexp): Ditto.
362 * math/clog10q.c (clog10q): Ditto.
363 * math/clogq.c (clogq): Ditto.
364 * math/csinhq.c: Ditto.
365 * math/csinq.c: Ditto.
366 * math/csqrtq.c: Ditto.
367 * math/ctanhq.c: Ditto.
368 * math/ctanq.c: Ditto.
369 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
370 from GLIBC.
371 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
372 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
373 from GLIBC.
374 * math/lgammaq.c (lgammaq): Add signgam handling.
375 * math/sinhq.c (sinhq): Fix sign handling.
376 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
377 * math/tgammaq.c (tgammaq): Ditto.
378 * math/x2y2m1q.c: New file.
379 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
380 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
381
737df6e6
TB
3822012-10-31 Tobias Burnus <burnus@net-b.de>
383 Joseph Myers <joseph@codesourcery.com>
384 David S. Miller <davem@davemloft.net>
385 Ulrich Drepper <drepper@redhat.com>
386 Marek Polacek <polacek@redhat.com>:
387 Petr Baudis <pasky@suse.cz>
388
389 * math/complex.c (csqrtq): NaN and INF fixes.
390 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
391 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
392 large parameters. Fix errno for boundary conditions.
393 * math/finiteq.c (finiteq): Add comment.
394 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
395 and bad results for some subnormal results. Fix sign of inexact
396 zero return. Fix sign of exact zero return.
397 Ensure additions are not scheduled after fetestexcept.
398 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
399 for ynq. Fix jnq precision.
400 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
401 manipulate bits before adding and subtracting TWO112[sx].
402 * math/rintq.c (rintq): Ditto.
403 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
404 overflow.
405
249b09fa
DE
4062012-09-14 David Edelsohn <dje.gcc@gmail.com>
407
408 * configure: Regenerated.
409
19af62db
BK
4102012-05-29 Benjamin Kosnik <bkoz@redhat.com>
411
412 PR libstdc++/51007
413 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
414 * configure: Regenerated.
249b09fa 415
e6d5f8c9
L
4162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
417
418 * configure: Regenerated.
419
c6084f68
AT
4202011-11-21 Andreas Tobler <andreast@fgznet.ch>
421
422 * configure: Regenerate.
423
744bbef1
KT
4242011-11-07 Kai Tietz <ktietz@redhat.com>
425
426 PR target/51007
427 * quadmath-imp.h (ieee854_float128): Adjust
428 for ms-bitfield layout.
429
f9989b51
RO
4302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
431
432 * printf/gmp-impl.h: Adapt path to longlong.h.
433
88cc02ff
JM
4342011-09-21 Joseph Myers <joseph@codesourcery.com>
435
436 * Makefile.am (FLAGS_TO_PASS): Define.
437 * Makefile.in: Regenerate.
438
57044b5a
JJ
4392011-08-01 Jakub Jelinek <jakub@redhat.com>
440
441 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
442 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
443
1e4eb7bb
TB
4442011-04-03 Tobias Burnus <burnus@net-b.de>
445
446 PR fortran/48311
447 * libquadmath.texi (strtoflt128): Fix typo.
448 (quadmath_snprintf): Move note up, make @item.
449
cf3b3080
JJ
4502011-03-25 Jakub Jelinek <jakub@redhat.com>
451
452 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
453 mempcpy.
454
bf382f5f
RO
4552011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
456
457 PR bootstrap/48135
458 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
459 * configure: Regenerate.
460
9926de2c
JJ
4612011-02-28 Jakub Jelinek <jakub@redhat.com>
462
463 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
464 that for size > 0 str is always zero terminated.
465
a3a33a7b
JJ
4662011-02-20 Jakub Jelinek <jakub@redhat.com>
467
468 PR bootstrap/47827
469 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
470
a855debf
JJ
4712011-02-17 Jakub Jelinek <jakub@redhat.com>
472
473 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
474 FLT128_MAX_10_EXP): Document.
475 (strtoflt128): Remove obsolete comment.
476 * configure.ac (HAVE_STRTOULL): New check.
477 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
478 define.
479 * printf/mul_n.c: Include <config.h>.
480 * printf/add_n.c: Likewise.
481 * printf/cmp.c: Likewise.
482 * printf/fpioconst.c: Likewise.
483 * printf/mul_1.c: Likewise.
484 * printf/rshift.c: Likewise.
485 * printf/lshift.c: Likewise.
486 * printf/submul_1.c: Likewise.
487 * printf/sub_n.c: Likewise.
488 * printf/divrem.c: Likewise.
489 * printf/addmul_1.c: Likewise.
490 * printf/mul.c: Likewise.
491 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
492 to avoid evaluating argument multiple times.
493 (isxdigit): Redefine.
494 * strtod/strtoflt128.c: New file.
495 * strtod/strtod_l.c: New file.
496 * strtod/mpn2flt128.c: New file.
497 * strtod/grouping.h: New file.
498 * strtod/tens_in_limb.c: New file.
499 * gdtoa/arith.h: Removed.
500 * gdtoa/gd_qnan.h: Removed.
501 * gdtoa/gdtoa_fltrnds.h: Removed.
502 * gdtoa/gdtoa.h: Removed.
503 * gdtoa/gdtoaimp.h: Removed.
504 * gdtoa/gethex.c: Removed.
505 * gdtoa/gmisc.c: Removed.
506 * gdtoa/hd_init.c: Removed.
507 * gdtoa/hexnan.c: Removed.
508 * gdtoa/makefile: Removed.
509 * gdtoa/misc.c: Removed.
510 * gdtoa/README.gdtoa: Removed.
511 * gdtoa/smisc.c: Removed.
512 * gdtoa/strtodg.c: Removed.
513 * gdtoa/strtopQ.c: Removed.
514 * gdtoa/sum.c: Removed.
515 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
516 Define.
517 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
518 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
519 * config.h.in: Regenerated.
520 * configure: Regenerated.
521 * Makefile.in: Regenerated.
522
d2995f21
JJ
5232011-02-16 Jakub Jelinek <jakub@redhat.com>
524
525 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
526 whether workarounds for printf hook handling should be added.
527
528 * configure.ac: Check for locale.h too.
529 (USE_LOCALE_SUPPORT): Remove check.
530 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
531 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
532 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
533 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
534 for wide version.
535 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
536 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
537 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
538 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
539 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
540 USE_I18N_NUMBER_H #ifdef.
541 * configure: Regenerated.
542 * config.h.in: Regenerated.
543
1d92226b
JJ
5442011-02-14 Jakub Jelinek <jakub@redhat.com>
545
12967872
JJ
546 PR bootstrap/47736
547 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
548 user field.
549 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
550 field instead of setting individual fields to 0. Don't set info.user
551 to -1.
552 * configure: Regenerated.
553
49f0e1ba
JJ
554 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
555 * printf/printf_fp.c: Don't include <alloca.h>.
556 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
557 * configure: Regenerated.
558
1d92226b
JJ
559 PR fortran/47642
560 * libquadmath.texi (quadmath_snprintf): Document.
561 (quadmath_flt128tostr): Remove.
562 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
563 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
564 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
565 * quadmath.h (quadmath_snprintf): New prototype.
566 (quadmath_flt128tostr): Remove.
567 * quadmath_weak.h (quadmath_snprintf): Add.
568 (quadmath_flt128tostr): Remove.
569 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
570 wctype.h, limits.h, ctype.h, printf.h, errno.h.
571 (AC_USE_SYSTEM_EXTENSIONS): Add.
572 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
573 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
574 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
575 quadmath_flt128tostr.
576 * printf/printf_fphex.c: New file.
577 * printf/_itowa.h: New file.
578 * printf/mul_n.c: New file.
579 * printf/quadmath-printf.h: New file.
580 * printf/submul_1.c: New file.
581 * printf/quadmath-printf.c: New file.
582 * printf/gmp-impl.h: New file.
583 * printf/lshift.c: New file.
584 * printf/fpioconst.h: New file.
585 * printf/add_n.c: New file.
586 * printf/cmp.c: New file.
587 * printf/sub_n.c: New file.
588 * printf/mul.c: New file.
589 * printf/divrem.c: New file.
590 * printf/addmul_1.c: New file.
591 * printf/printf_fp.c: New file.
592 * printf/_itoa.h: New file.
593 * printf/fpioconst.c: New file.
594 * printf/_i18n_number.h: New file.
595 * printf/flt1282mpn.c: New file.
596 * printf/rshift.c: New file.
597 * printf/mul_1.c: New file.
598 * quadmath_io.c: Removed.
599 * gdtoa/gdtoa.c: Removed.
600 * gdtoa/g__fmt.c: Removed.
601 * gdtoa/g_Qfmt.c: Removed.
602 * gdtoa/dmisc.c: Removed.
603 * gdtoa/ulp.c: Removed.
604 * config.h.in: Regenerated.
605 * configure: Regenerated.
606 * Makefile.in: Regenerated.
607
029c8f3e
RW
6082011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
609
610 * Makefile.in: Regenerate.
611 * aclocal.m4: Likewise.
612 * configure: Likewise.
613
21ac7f65
JD
6142011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
615
616 PR libquadmath/47293
617 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
618 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
619
0ecf8f66
TB
6202011-01-17 Tobias Burnus <burnus@net-b.de>
621
622 PR fortran/47295
623 * libquadmath.text: Document typedef and constants.
624
b5d4b580
TB
6252011-01-17 Tobias Burnus <burnus@net-b.de>
626
627 PR fortran/46817
628 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
629 bump copyright year and use /**/ instead of // comments.
630 * quadmath.h: Ditto.
631 * quadmath-weak.h: Ditto.
632 * quadmath_io.c: Ditto.
633
e8d42d28
JJ
6342011-01-16 Jakub Jelinek <jakub@redhat.com>
635
d6713cb8
JJ
636 PR libfortran/47322
637 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
638
e313241f
JJ
639 PR fortran/46625
640 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
641 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
642 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
643 (strtoflt128, quadmath_flt128tostr): Add.
644 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
645 (strtoflt128): ... this. Return __float128, instead of writing
646 to memory pointed by last argument.
647 * quadmath.h: Use C style comments instead of C++ style.
648 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
649 (strtoflt128, quadmath_flt128tostr): Add prototypes.
650 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
651 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
652 adjust examples.
653 * quadmath_io.c (quadmath_dtoaq): Rename to...
654 (quadmath_flt128tostr): ... this.
655
327f73c1
JJ
656 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
657 Use it for all prototypes.
658
dbc9f6c6
JJ
659 PR fortran/46416
660 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
661 const from prototype argument.
662 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
663 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
664 (__quadmath_extern_inline): Define.
665 (cimagq, conjq, crealq): New inlines.
666 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
667 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
668 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
669 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
670 * Makefile.in: Regenerated.
671 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
672 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
673 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
674 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
675 tests instead of __BIG_ENDIAN__.
676 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
677 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
678 and remquoq.
679 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
680 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
681 * math/cprojq.c: New file.
682 * math/ilogbq.c: New file.
683 * math/fminq.c: New file.
684 * math/llrintq.c: New file.
685 * math/log2q.c: New file.
686 * math/lrintq.c: New file.
687 * math/crealq.c: New file.
688 * math/nearbyintq.c: New file.
689 * math/fmaxq.c: New file.
690 * math/conjq.c: New file.
691 * math/remquoq.c: New file.
692 * math/cimagq.c: New file.
693 * math/fdimq.c: New file.
694
695 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
696
fa23b182
JJ
697 PR fortran/46416
698 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
699 New prototypes.
700 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
701 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
702 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
703 catanhq): Add.
704 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
705 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
706 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
707 catanq and catanhq.
708 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
709 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
710 and math/catanhq.c.
711 * Makefile.in: Regenerated.
712 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
713 catanq, catanhq): Add.
714 * math/cacoshq.c: New file.
715 * math/cacosq.c: New file.
716 * math/catanq.c: New file.
717 * math/catanhq.c: New file.
718 * math/casinq.c: New file.
719 * math/casinhq.c: New file.
720
721 * math/hypotq.c (hypotq): Use Q suffix instead of L.
722 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
723 * math/cosq.c (cosq): Likewise.
724
e8d42d28
JJ
725 PR fortran/46402
726 * quadmath.map (QUADMATH_1.0): Add fmaq.
727 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
728 feupdateenv, fesetenv and fetestexcept.
729 * configure: Regenerated.
730 * config.h.in: Regenerated.
731 * quadmath.h (fmaq): New prototype.
732 * quadmath_weak.h (fmaq): Add.
733 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
734 * Makefile.in: Regenerated.
735 * quadmath-imp.h: Include config.h.
736 * math/expq.c: Include fenv.h.
737 (USE_FENV_H): Define if libm support for fe* is there.
738 (expq): Add fesetround etc. support if USE_FENV_H is defined.
739 * math/fmaq.c: New file.
740 * libquadmath.texi (fmaq): Add.
741
642d2873
TB
7422011-01-14 Tobias Burnus <burnus@net-b.de>
743
744 PR fortran/47182
745 * configure.ac: Use ACX_BUGURL.
746 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
747 * Makefile.am: Create libquadmath-vers.texi.
748 * configure.in: Regenerate.
749 * Makefile.in: Regenerate.
750
a6098a28
RW
7512011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
752
753 PR fortran/47174
754 * Makefile.am (libquadmath.info): Unconditionally override
755 target, not only if BUILD_LIBQUADMATH.
756 * Makefile.in: Regenerate.
757 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
758 avoid warning from automake.
759
6f468984
TB
7602010-12-19 Tobias Burnus <burnus@net-b.de>
761
762 PR fortran/46520
763 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
764 * configure: Regenerate
765
f0c2df63
TB
7662010-12-13 Tobias Burnus <burnus@net-b.de>
767
768 PR fortran/46625
769 * gdtoa/gdtoaimp.h: Mangle internal functions by
770 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
771 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
772 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
773 if NO_STRING_H is set.
774 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
775 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
776 __quadmath prefix to internal functions.
777 * math/cosq.c (cosq): Ditto.
778 * math/sinq.c (cosq): Ditto.
779 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
780 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
781 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
782 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
783
09c2d63a
TB
7842010-12-08 Tobias Burnus <burnus@net-b.de>
785
786 PR fortran/46772
787 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
788 * gdtoa/gdtoaimp.h: Don't declare strtod.
789
abccc9a9
TB
7902010-12-08 Tobias Burnus <burnus@net-b.de>
791
792 PR fortran/46520
793 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
794 AC_TRY_LINK and cache libquad_have_float128.
795 * configure: Regenerate.
796
4c993c44
TB
7972010-12-08 Tobias Burnus <burnus@net-b.de>
798
799 PR fortran/46543
800 * configure.ac: Add texinfo checks.
801 * Makefile.am: Handle .texi documentation.
802 * libquadmath.texi: New.
803 * configure: Regenerated.
804 * Makefile.in: Regenerated.
805
545a5cb6
TB
8062010-12-06 Tobias Burnus <burnus@net-b.de>
807
808 PR fortran/46817
809 * quadmath-imp.h: Add LGPL header.
810 * quadmath.h: Add LGPL header.
811 * quadmath_io.c: Add LGPL header.
812 * quadmath_weak.h: Add LGPL header.
813
7de6ba7a
DK
8142010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
815
816 PR target/40125
817 PR lto/46695
818 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
819 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
820 * aclocal.m4: Regenerate.
821 * configure: Regenerate.
822 * Makefile.in: Regenerate.
823
375a39e2
TB
8242010-11-30 Tobias Burnus <burnus@net-b.de>
825
826 PR fortran/46594
827 * Makefile.am: Install include files in
828 target/version specific directory.
829 * Makefile.in: Regenerate.
830
70d94de7
TB
8312010-11-30 Tobias Burnus <burnus@net-b.de>
832
833 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
834 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
835 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
836
fabfcf5e
KT
8372010-11-29 Kai Tietz <kai.tietz@onevision.com>
838
839 * configure: Regenerated.
840 * Makefile.in: Regenerated.
841 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
842 (target_alias): Use AC_SUBST for it.
843 (GCC_NO_EXECUTABLES): Call it.
844 (AC_PROG_CC): Improve multilib handling.
845 Check that gcc is used for compilation.
846 Use pattern from libssp for symbol versioning checking.
847 * Makefile.am (LTLDFLAGS): Removed.
848 (libquadmath_la_LDFLAGS): Add -no-undefined.
849 (libquadmath_la_LINK): Commented out.
850 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
851 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
852 (MAKEOVERRIDES): New.
853 * aclocal.m4: Regenerated.
854
4144e658
RO
8552010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
856
857 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
858 (libquadmath_la_LDFLAGS): ... here.
859 (quadmath.map-sun): Tabify.
860 Fix sed expression.
861 * Makefile.in: Regenerate.
862
1ec601bf
FXC
8632010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
864 Tobias Burnus <burnus@net-b.de>
865
866 PR fortran/32049
867 Initial implementation and checkin.
21fa2a29 868\f
85ec4feb 869Copyright (C) 2010-2018 Free Software Foundation, Inc.
21fa2a29
JJ
870
871Copying and distribution of this file, with or without modification,
872are permitted in any medium without royalty provided the copyright
873notice and this notice are preserved.