1 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
4 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
5 * configure: Regenerated.
7 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9 * configure: Regenerated.
11 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
13 * configure: Regenerate.
15 2011-11-07 Kai Tietz <ktietz@redhat.com>
18 * quadmath-imp.h (ieee854_float128): Adjust
19 for ms-bitfield layout.
21 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
23 * printf/gmp-impl.h: Adapt path to longlong.h.
25 2011-09-21 Joseph Myers <joseph@codesourcery.com>
27 * Makefile.am (FLAGS_TO_PASS): Define.
28 * Makefile.in: Regenerate.
30 2011-08-01 Jakub Jelinek <jakub@redhat.com>
32 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
33 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35 2011-04-03 Tobias Burnus <burnus@net-b.de>
38 * libquadmath.texi (strtoflt128): Fix typo.
39 (quadmath_snprintf): Move note up, make @item.
41 2011-03-25 Jakub Jelinek <jakub@redhat.com>
43 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
46 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
49 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
50 * configure: Regenerate.
52 2011-02-28 Jakub Jelinek <jakub@redhat.com>
54 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
55 that for size > 0 str is always zero terminated.
57 2011-02-20 Jakub Jelinek <jakub@redhat.com>
60 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
62 2011-02-17 Jakub Jelinek <jakub@redhat.com>
64 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
65 FLT128_MAX_10_EXP): Document.
66 (strtoflt128): Remove obsolete comment.
67 * configure.ac (HAVE_STRTOULL): New check.
68 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
70 * printf/mul_n.c: Include <config.h>.
71 * printf/add_n.c: Likewise.
72 * printf/cmp.c: Likewise.
73 * printf/fpioconst.c: Likewise.
74 * printf/mul_1.c: Likewise.
75 * printf/rshift.c: Likewise.
76 * printf/lshift.c: Likewise.
77 * printf/submul_1.c: Likewise.
78 * printf/sub_n.c: Likewise.
79 * printf/divrem.c: Likewise.
80 * printf/addmul_1.c: Likewise.
81 * printf/mul.c: Likewise.
82 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
83 to avoid evaluating argument multiple times.
85 * strtod/strtoflt128.c: New file.
86 * strtod/strtod_l.c: New file.
87 * strtod/mpn2flt128.c: New file.
88 * strtod/grouping.h: New file.
89 * strtod/tens_in_limb.c: New file.
90 * gdtoa/arith.h: Removed.
91 * gdtoa/gd_qnan.h: Removed.
92 * gdtoa/gdtoa_fltrnds.h: Removed.
93 * gdtoa/gdtoa.h: Removed.
94 * gdtoa/gdtoaimp.h: Removed.
95 * gdtoa/gethex.c: Removed.
96 * gdtoa/gmisc.c: Removed.
97 * gdtoa/hd_init.c: Removed.
98 * gdtoa/hexnan.c: Removed.
99 * gdtoa/makefile: Removed.
100 * gdtoa/misc.c: Removed.
101 * gdtoa/README.gdtoa: Removed.
102 * gdtoa/smisc.c: Removed.
103 * gdtoa/strtodg.c: Removed.
104 * gdtoa/strtopQ.c: Removed.
105 * gdtoa/sum.c: Removed.
106 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
108 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
109 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
110 * config.h.in: Regenerated.
111 * configure: Regenerated.
112 * Makefile.in: Regenerated.
114 2011-02-16 Jakub Jelinek <jakub@redhat.com>
116 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
117 whether workarounds for printf hook handling should be added.
119 * configure.ac: Check for locale.h too.
120 (USE_LOCALE_SUPPORT): Remove check.
121 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
122 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
123 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
124 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
126 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
127 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
128 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
129 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
130 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
131 USE_I18N_NUMBER_H #ifdef.
132 * configure: Regenerated.
133 * config.h.in: Regenerated.
135 2011-02-14 Jakub Jelinek <jakub@redhat.com>
138 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
140 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
141 field instead of setting individual fields to 0. Don't set info.user
143 * configure: Regenerated.
145 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
146 * printf/printf_fp.c: Don't include <alloca.h>.
147 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
148 * configure: Regenerated.
151 * libquadmath.texi (quadmath_snprintf): Document.
152 (quadmath_flt128tostr): Remove.
153 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
154 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
155 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
156 * quadmath.h (quadmath_snprintf): New prototype.
157 (quadmath_flt128tostr): Remove.
158 * quadmath_weak.h (quadmath_snprintf): Add.
159 (quadmath_flt128tostr): Remove.
160 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
161 wctype.h, limits.h, ctype.h, printf.h, errno.h.
162 (AC_USE_SYSTEM_EXTENSIONS): Add.
163 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
164 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
165 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
166 quadmath_flt128tostr.
167 * printf/printf_fphex.c: New file.
168 * printf/_itowa.h: New file.
169 * printf/mul_n.c: New file.
170 * printf/quadmath-printf.h: New file.
171 * printf/submul_1.c: New file.
172 * printf/quadmath-printf.c: New file.
173 * printf/gmp-impl.h: New file.
174 * printf/lshift.c: New file.
175 * printf/fpioconst.h: New file.
176 * printf/add_n.c: New file.
177 * printf/cmp.c: New file.
178 * printf/sub_n.c: New file.
179 * printf/mul.c: New file.
180 * printf/divrem.c: New file.
181 * printf/addmul_1.c: New file.
182 * printf/printf_fp.c: New file.
183 * printf/_itoa.h: New file.
184 * printf/fpioconst.c: New file.
185 * printf/_i18n_number.h: New file.
186 * printf/flt1282mpn.c: New file.
187 * printf/rshift.c: New file.
188 * printf/mul_1.c: New file.
189 * quadmath_io.c: Removed.
190 * gdtoa/gdtoa.c: Removed.
191 * gdtoa/g__fmt.c: Removed.
192 * gdtoa/g_Qfmt.c: Removed.
193 * gdtoa/dmisc.c: Removed.
194 * gdtoa/ulp.c: Removed.
195 * config.h.in: Regenerated.
196 * configure: Regenerated.
197 * Makefile.in: Regenerated.
199 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
201 * Makefile.in: Regenerate.
202 * aclocal.m4: Likewise.
203 * configure: Likewise.
205 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
208 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
209 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
211 2011-01-17 Tobias Burnus <burnus@net-b.de>
214 * libquadmath.text: Document typedef and constants.
216 2011-01-17 Tobias Burnus <burnus@net-b.de>
219 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
220 bump copyright year and use /**/ instead of // comments.
222 * quadmath-weak.h: Ditto.
223 * quadmath_io.c: Ditto.
225 2011-01-16 Jakub Jelinek <jakub@redhat.com>
228 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
231 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
232 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
233 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
234 (strtoflt128, quadmath_flt128tostr): Add.
235 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
236 (strtoflt128): ... this. Return __float128, instead of writing
237 to memory pointed by last argument.
238 * quadmath.h: Use C style comments instead of C++ style.
239 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
240 (strtoflt128, quadmath_flt128tostr): Add prototypes.
241 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
242 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
244 * quadmath_io.c (quadmath_dtoaq): Rename to...
245 (quadmath_flt128tostr): ... this.
247 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
248 Use it for all prototypes.
251 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
252 const from prototype argument.
253 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
254 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
255 (__quadmath_extern_inline): Define.
256 (cimagq, conjq, crealq): New inlines.
257 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
258 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
259 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
260 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
261 * Makefile.in: Regenerated.
262 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
263 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
264 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
265 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
266 tests instead of __BIG_ENDIAN__.
267 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
268 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
270 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
271 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
272 * math/cprojq.c: New file.
273 * math/ilogbq.c: New file.
274 * math/fminq.c: New file.
275 * math/llrintq.c: New file.
276 * math/log2q.c: New file.
277 * math/lrintq.c: New file.
278 * math/crealq.c: New file.
279 * math/nearbyintq.c: New file.
280 * math/fmaxq.c: New file.
281 * math/conjq.c: New file.
282 * math/remquoq.c: New file.
283 * math/cimagq.c: New file.
284 * math/fdimq.c: New file.
286 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
289 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
291 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
292 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
293 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
295 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
296 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
297 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
299 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
300 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
302 * Makefile.in: Regenerated.
303 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
304 catanq, catanhq): Add.
305 * math/cacoshq.c: New file.
306 * math/cacosq.c: New file.
307 * math/catanq.c: New file.
308 * math/catanhq.c: New file.
309 * math/casinq.c: New file.
310 * math/casinhq.c: New file.
312 * math/hypotq.c (hypotq): Use Q suffix instead of L.
313 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
314 * math/cosq.c (cosq): Likewise.
317 * quadmath.map (QUADMATH_1.0): Add fmaq.
318 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
319 feupdateenv, fesetenv and fetestexcept.
320 * configure: Regenerated.
321 * config.h.in: Regenerated.
322 * quadmath.h (fmaq): New prototype.
323 * quadmath_weak.h (fmaq): Add.
324 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
325 * Makefile.in: Regenerated.
326 * quadmath-imp.h: Include config.h.
327 * math/expq.c: Include fenv.h.
328 (USE_FENV_H): Define if libm support for fe* is there.
329 (expq): Add fesetround etc. support if USE_FENV_H is defined.
330 * math/fmaq.c: New file.
331 * libquadmath.texi (fmaq): Add.
333 2011-01-14 Tobias Burnus <burnus@net-b.de>
336 * configure.ac: Use ACX_BUGURL.
337 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
338 * Makefile.am: Create libquadmath-vers.texi.
339 * configure.in: Regenerate.
340 * Makefile.in: Regenerate.
342 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
345 * Makefile.am (libquadmath.info): Unconditionally override
346 target, not only if BUILD_LIBQUADMATH.
347 * Makefile.in: Regenerate.
348 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
349 avoid warning from automake.
351 2010-12-19 Tobias Burnus <burnus@net-b.de>
354 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
355 * configure: Regenerate
357 2010-12-13 Tobias Burnus <burnus@net-b.de>
360 * gdtoa/gdtoaimp.h: Mangle internal functions by
361 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
362 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
363 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
364 if NO_STRING_H is set.
365 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
366 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
367 __quadmath prefix to internal functions.
368 * math/cosq.c (cosq): Ditto.
369 * math/sinq.c (cosq): Ditto.
370 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
371 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
372 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
373 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
375 2010-12-08 Tobias Burnus <burnus@net-b.de>
378 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
379 * gdtoa/gdtoaimp.h: Don't declare strtod.
381 2010-12-08 Tobias Burnus <burnus@net-b.de>
384 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
385 AC_TRY_LINK and cache libquad_have_float128.
386 * configure: Regenerate.
388 2010-12-08 Tobias Burnus <burnus@net-b.de>
391 * configure.ac: Add texinfo checks.
392 * Makefile.am: Handle .texi documentation.
393 * libquadmath.texi: New.
394 * configure: Regenerated.
395 * Makefile.in: Regenerated.
397 2010-12-06 Tobias Burnus <burnus@net-b.de>
400 * quadmath-imp.h: Add LGPL header.
401 * quadmath.h: Add LGPL header.
402 * quadmath_io.c: Add LGPL header.
403 * quadmath_weak.h: Add LGPL header.
405 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
409 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
410 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
411 * aclocal.m4: Regenerate.
412 * configure: Regenerate.
413 * Makefile.in: Regenerate.
415 2010-11-30 Tobias Burnus <burnus@net-b.de>
418 * Makefile.am: Install include files in
419 target/version specific directory.
420 * Makefile.in: Regenerate.
422 2010-11-30 Tobias Burnus <burnus@net-b.de>
424 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
425 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
426 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
428 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
430 * configure: Regenerated.
431 * Makefile.in: Regenerated.
432 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
433 (target_alias): Use AC_SUBST for it.
434 (GCC_NO_EXECUTABLES): Call it.
435 (AC_PROG_CC): Improve multilib handling.
436 Check that gcc is used for compilation.
437 Use pattern from libssp for symbol versioning checking.
438 * Makefile.am (LTLDFLAGS): Removed.
439 (libquadmath_la_LDFLAGS): Add -no-undefined.
440 (libquadmath_la_LINK): Commented out.
441 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
442 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
443 (MAKEOVERRIDES): New.
444 * aclocal.m4: Regenerated.
446 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
448 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
449 (libquadmath_la_LDFLAGS): ... here.
450 (quadmath.map-sun): Tabify.
452 * Makefile.in: Regenerate.
454 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
455 Tobias Burnus <burnus@net-b.de>
458 Initial implementation and checkin.