1 2012-03-01 Release Manager
5 2011-11-20 Andreas Tobler <andreast@fgznet.ch>
7 * configure: Regenerate.
9 2011-10-26 Release Manager
13 2011-09-21 Joseph Myers <joseph@codesourcery.com>
15 * Makefile.am (FLAGS_TO_PASS): Define.
16 * Makefile.in: Regenerate.
18 2011-08-01 Jakub Jelinek <jakub@redhat.com>
20 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
21 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23 2011-06-27 Release Manager
27 2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
29 Backport from mainline:
30 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
33 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
34 * configure: Regenerate.
36 2011-03-26 Jakub Jelinek <jakub@redhat.com>
38 Backport from mainline
39 2011-03-25 Jakub Jelinek <jakub@redhat.com>
41 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
44 2011-03-25 Release Manager
48 2011-02-28 Jakub Jelinek <jakub@redhat.com>
50 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
51 that for size > 0 str is always zero terminated.
53 2011-02-20 Jakub Jelinek <jakub@redhat.com>
56 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
58 2011-02-17 Jakub Jelinek <jakub@redhat.com>
60 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
61 FLT128_MAX_10_EXP): Document.
62 (strtoflt128): Remove obsolete comment.
63 * configure.ac (HAVE_STRTOULL): New check.
64 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
66 * printf/mul_n.c: Include <config.h>.
67 * printf/add_n.c: Likewise.
68 * printf/cmp.c: Likewise.
69 * printf/fpioconst.c: Likewise.
70 * printf/mul_1.c: Likewise.
71 * printf/rshift.c: Likewise.
72 * printf/lshift.c: Likewise.
73 * printf/submul_1.c: Likewise.
74 * printf/sub_n.c: Likewise.
75 * printf/divrem.c: Likewise.
76 * printf/addmul_1.c: Likewise.
77 * printf/mul.c: Likewise.
78 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
79 to avoid evaluating argument multiple times.
81 * strtod/strtoflt128.c: New file.
82 * strtod/strtod_l.c: New file.
83 * strtod/mpn2flt128.c: New file.
84 * strtod/grouping.h: New file.
85 * strtod/tens_in_limb.c: New file.
86 * gdtoa/arith.h: Removed.
87 * gdtoa/gd_qnan.h: Removed.
88 * gdtoa/gdtoa_fltrnds.h: Removed.
89 * gdtoa/gdtoa.h: Removed.
90 * gdtoa/gdtoaimp.h: Removed.
91 * gdtoa/gethex.c: Removed.
92 * gdtoa/gmisc.c: Removed.
93 * gdtoa/hd_init.c: Removed.
94 * gdtoa/hexnan.c: Removed.
95 * gdtoa/makefile: Removed.
96 * gdtoa/misc.c: Removed.
97 * gdtoa/README.gdtoa: Removed.
98 * gdtoa/smisc.c: Removed.
99 * gdtoa/strtodg.c: Removed.
100 * gdtoa/strtopQ.c: Removed.
101 * gdtoa/sum.c: Removed.
102 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
104 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
105 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
106 * config.h.in: Regenerated.
107 * configure: Regenerated.
108 * Makefile.in: Regenerated.
110 2011-02-16 Jakub Jelinek <jakub@redhat.com>
112 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
113 whether workarounds for printf hook handling should be added.
115 * configure.ac: Check for locale.h too.
116 (USE_LOCALE_SUPPORT): Remove check.
117 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
118 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
119 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
120 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
122 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
123 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
124 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
125 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
126 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
127 USE_I18N_NUMBER_H #ifdef.
128 * configure: Regenerated.
129 * config.h.in: Regenerated.
131 2011-02-14 Jakub Jelinek <jakub@redhat.com>
134 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
136 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
137 field instead of setting individual fields to 0. Don't set info.user
139 * configure: Regenerated.
141 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
142 * printf/printf_fp.c: Don't include <alloca.h>.
143 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
144 * configure: Regenerated.
147 * libquadmath.texi (quadmath_snprintf): Document.
148 (quadmath_flt128tostr): Remove.
149 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
150 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
151 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
152 * quadmath.h (quadmath_snprintf): New prototype.
153 (quadmath_flt128tostr): Remove.
154 * quadmath_weak.h (quadmath_snprintf): Add.
155 (quadmath_flt128tostr): Remove.
156 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
157 wctype.h, limits.h, ctype.h, printf.h, errno.h.
158 (AC_USE_SYSTEM_EXTENSIONS): Add.
159 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
160 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
161 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
162 quadmath_flt128tostr.
163 * printf/printf_fphex.c: New file.
164 * printf/_itowa.h: New file.
165 * printf/mul_n.c: New file.
166 * printf/quadmath-printf.h: New file.
167 * printf/submul_1.c: New file.
168 * printf/quadmath-printf.c: New file.
169 * printf/gmp-impl.h: New file.
170 * printf/lshift.c: New file.
171 * printf/fpioconst.h: New file.
172 * printf/add_n.c: New file.
173 * printf/cmp.c: New file.
174 * printf/sub_n.c: New file.
175 * printf/mul.c: New file.
176 * printf/divrem.c: New file.
177 * printf/addmul_1.c: New file.
178 * printf/printf_fp.c: New file.
179 * printf/_itoa.h: New file.
180 * printf/fpioconst.c: New file.
181 * printf/_i18n_number.h: New file.
182 * printf/flt1282mpn.c: New file.
183 * printf/rshift.c: New file.
184 * printf/mul_1.c: New file.
185 * quadmath_io.c: Removed.
186 * gdtoa/gdtoa.c: Removed.
187 * gdtoa/g__fmt.c: Removed.
188 * gdtoa/g_Qfmt.c: Removed.
189 * gdtoa/dmisc.c: Removed.
190 * gdtoa/ulp.c: Removed.
191 * config.h.in: Regenerated.
192 * configure: Regenerated.
193 * Makefile.in: Regenerated.
195 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
197 * Makefile.in: Regenerate.
198 * aclocal.m4: Likewise.
199 * configure: Likewise.
201 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
204 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
205 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
207 2011-01-17 Tobias Burnus <burnus@net-b.de>
210 * libquadmath.text: Document typedef and constants.
212 2011-01-17 Tobias Burnus <burnus@net-b.de>
215 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
216 bump copyright year and use /**/ instead of // comments.
218 * quadmath-weak.h: Ditto.
219 * quadmath_io.c: Ditto.
221 2011-01-16 Jakub Jelinek <jakub@redhat.com>
224 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
227 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
228 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
229 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
230 (strtoflt128, quadmath_flt128tostr): Add.
231 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
232 (strtoflt128): ... this. Return __float128, instead of writing
233 to memory pointed by last argument.
234 * quadmath.h: Use C style comments instead of C++ style.
235 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
236 (strtoflt128, quadmath_flt128tostr): Add prototypes.
237 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
238 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
240 * quadmath_io.c (quadmath_dtoaq): Rename to...
241 (quadmath_flt128tostr): ... this.
243 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
244 Use it for all prototypes.
247 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
248 const from prototype argument.
249 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
250 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
251 (__quadmath_extern_inline): Define.
252 (cimagq, conjq, crealq): New inlines.
253 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
254 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
255 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
256 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
257 * Makefile.in: Regenerated.
258 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
259 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
260 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
261 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
262 tests instead of __BIG_ENDIAN__.
263 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
264 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
266 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
267 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
268 * math/cprojq.c: New file.
269 * math/ilogbq.c: New file.
270 * math/fminq.c: New file.
271 * math/llrintq.c: New file.
272 * math/log2q.c: New file.
273 * math/lrintq.c: New file.
274 * math/crealq.c: New file.
275 * math/nearbyintq.c: New file.
276 * math/fmaxq.c: New file.
277 * math/conjq.c: New file.
278 * math/remquoq.c: New file.
279 * math/cimagq.c: New file.
280 * math/fdimq.c: New file.
282 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
285 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
287 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
288 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
289 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
291 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
292 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
293 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
295 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
296 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
298 * Makefile.in: Regenerated.
299 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
300 catanq, catanhq): Add.
301 * math/cacoshq.c: New file.
302 * math/cacosq.c: New file.
303 * math/catanq.c: New file.
304 * math/catanhq.c: New file.
305 * math/casinq.c: New file.
306 * math/casinhq.c: New file.
308 * math/hypotq.c (hypotq): Use Q suffix instead of L.
309 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
310 * math/cosq.c (cosq): Likewise.
313 * quadmath.map (QUADMATH_1.0): Add fmaq.
314 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
315 feupdateenv, fesetenv and fetestexcept.
316 * configure: Regenerated.
317 * config.h.in: Regenerated.
318 * quadmath.h (fmaq): New prototype.
319 * quadmath_weak.h (fmaq): Add.
320 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
321 * Makefile.in: Regenerated.
322 * quadmath-imp.h: Include config.h.
323 * math/expq.c: Include fenv.h.
324 (USE_FENV_H): Define if libm support for fe* is there.
325 (expq): Add fesetround etc. support if USE_FENV_H is defined.
326 * math/fmaq.c: New file.
327 * libquadmath.texi (fmaq): Add.
329 2011-01-14 Tobias Burnus <burnus@net-b.de>
332 * configure.ac: Use ACX_BUGURL.
333 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
334 * Makefile.am: Create libquadmath-vers.texi.
335 * configure.in: Regenerate.
336 * Makefile.in: Regenerate.
338 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
341 * Makefile.am (libquadmath.info): Unconditionally override
342 target, not only if BUILD_LIBQUADMATH.
343 * Makefile.in: Regenerate.
344 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
345 avoid warning from automake.
347 2010-12-19 Tobias Burnus <burnus@net-b.de>
350 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
351 * configure: Regenerate
353 2010-12-13 Tobias Burnus <burnus@net-b.de>
356 * gdtoa/gdtoaimp.h: Mangle internal functions by
357 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
358 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
359 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
360 if NO_STRING_H is set.
361 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
362 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
363 __quadmath prefix to internal functions.
364 * math/cosq.c (cosq): Ditto.
365 * math/sinq.c (cosq): Ditto.
366 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
367 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
368 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
369 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
371 2010-12-08 Tobias Burnus <burnus@net-b.de>
374 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
375 * gdtoa/gdtoaimp.h: Don't declare strtod.
377 2010-12-08 Tobias Burnus <burnus@net-b.de>
380 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
381 AC_TRY_LINK and cache libquad_have_float128.
382 * configure: Regenerate.
384 2010-12-08 Tobias Burnus <burnus@net-b.de>
387 * configure.ac: Add texinfo checks.
388 * Makefile.am: Handle .texi documentation.
389 * libquadmath.texi: New.
390 * configure: Regenerated.
391 * Makefile.in: Regenerated.
393 2010-12-06 Tobias Burnus <burnus@net-b.de>
396 * quadmath-imp.h: Add LGPL header.
397 * quadmath.h: Add LGPL header.
398 * quadmath_io.c: Add LGPL header.
399 * quadmath_weak.h: Add LGPL header.
401 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
405 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
406 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
407 * aclocal.m4: Regenerate.
408 * configure: Regenerate.
409 * Makefile.in: Regenerate.
411 2010-11-30 Tobias Burnus <burnus@net-b.de>
414 * Makefile.am: Install include files in
415 target/version specific directory.
416 * Makefile.in: Regenerate.
418 2010-11-30 Tobias Burnus <burnus@net-b.de>
420 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
421 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
422 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
424 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
426 * configure: Regenerated.
427 * Makefile.in: Regenerated.
428 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
429 (target_alias): Use AC_SUBST for it.
430 (GCC_NO_EXECUTABLES): Call it.
431 (AC_PROG_CC): Improve multilib handling.
432 Check that gcc is used for compilation.
433 Use pattern from libssp for symbol versioning checking.
434 * Makefile.am (LTLDFLAGS): Removed.
435 (libquadmath_la_LDFLAGS): Add -no-undefined.
436 (libquadmath_la_LINK): Commented out.
437 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
438 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
439 (MAKEOVERRIDES): New.
440 * aclocal.m4: Regenerated.
442 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
444 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
445 (libquadmath_la_LDFLAGS): ... here.
446 (quadmath.map-sun): Tabify.
448 * Makefile.in: Regenerate.
450 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
451 Tobias Burnus <burnus@net-b.de>
454 Initial implementation and checkin.