1 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3 * dconfig.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
4 (WORDS_BIG_ENDIAN): Define based on value of __FLOAT_WORD_ORDER__.
6 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8 * dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
9 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
13 * configure: Regenerated.
15 2010-09-08 Tristan Gingold <gingold@adacore.com>
18 * Makefile.in (objext): New variable.
19 (bid_OBJS): Use $(objext) for extension.
20 (libdecnumber_a_OBJS): Ditto.
25 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
28 * configure.ac (enable_decimal_float): Set to
29 $default_decimal_float.
30 * configure: Regenerated.
32 2010-09-06 Andreas Schwab <schwab@redhat.com>
34 * configure: Regenerate.
36 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
39 * Makefile.in: Add aclocal.m4 dependency to dfp.m4.
40 * configure: Regenerate.
41 * aclocal.m4: Regenerate.
43 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
45 * configure: Regenerate.
47 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
49 * aclocal.m4: Regenerate.
51 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
53 * configure: Regenerate.
55 2009-11-28 Jakub Jelinek <jakub@redhat.com>
57 * decContext.c (decContextTestEndian): Move adj definition into
58 #if DECCHECK guarded code.
60 2009-09-09 Paolo Bonzini <bonzini@gnu.org>
62 * configure: Regenerate.
64 2009-09-08 Paolo Bonzini <bonzini@gnu.org>
66 * configure: Regenerate.
68 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
70 * configure.ac (AC_PREREQ): Bump to 2.64.
72 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
74 * aclocal.m4: Regenerate.
75 * configure: Regenerate.
76 * config.in: Regenerate.
78 2009-08-13 Janis Johnson <janis187@us.ibm.com>
81 * decContext.c (decContextTestEndian): Call printf only if DECCHECK.
82 * decCommon.c ( decFloatShow): Define function only for DECCHECK
85 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
87 * Makefile.in (aclocal_deps): New variable.
88 ($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
90 2009-05-31 Ian Lance Taylor <iant@google.com>
92 * decContext.h: Add extern "C" if compiling with C++.
94 * decNumber.h: Likewise.
95 * dpd/decimal32.h: Likewise.
96 * dpd/decimal64.h: Likewise.
97 * dpd/decimal128.h: Likewise.
99 2009-04-09 Nick Clifton <nickc@redhat.com>
101 * decRound.c: Change copyright header to refer to version 3 of
102 the GNU General Public License with version 3.1 of the GCC
103 Runtime Library Exception and to point readers at the COPYING3
104 and COPYING3.RUNTIME files and the FSF's license web page.
105 * bid/bid-dpd.h: Likewise.
106 * bid/bid2dpd_dpd2bid.c: Likewise.
107 * bid/bid2dpd_dpd2bid.h: Likewise.
108 * bid/decimal128.c: Likewise.
109 * bid/decimal32.c: Likewise.
110 * bid/decimal64.c: Likewise.
111 * bid/host-ieee128.c: Likewise.
112 * bid/host-ieee32.c: Likewise.
113 * bid/host-ieee64.c: Likewise.
114 * dconfig.h: Likewise.
115 * decBasic.c: Likewise.
116 * decCommon.c: Likewise.
117 * decContext.c: Likewise.
118 * decContext.h: Likewise.
119 * decDPD.h: Likewise.
120 * decDouble.c: Likewise.
121 * decDouble.h: Likewise.
122 * decExcept.c: Likewise.
123 * decExcept.h: Likewise.
124 * decLibrary.c: Likewise.
125 * decNumber.c: Likewise.
126 * decNumber.h: Likewise.
127 * decNumberLocal.h: Likewise.
128 * decPacked.c: Likewise.
129 * decPacked.h: Likewise.
130 * decQuad.c: Likewise.
131 * decQuad.h: Likewise.
132 * decRound.h: Likewise.
133 * decSingle.c: Likewise.
134 * decSingle.h: Likewise.
135 * dpd/decimal128.c: Likewise.
136 * dpd/decimal128.h: Likewise.
137 * dpd/decimal128Local.h: Likewise.
138 * dpd/decimal32.c: Likewise.
139 * dpd/decimal32.h: Likewise.
140 * dpd/decimal64.c: Likewise.
141 * dpd/decimal64.h: Likewise.
143 2009-04-09 Jakub Jelinek <jakub@redhat.com>
145 * Makefile.in: Change copyright header to refer to version
146 3 of the GNU General Public License and to point readers at the
147 COPYING3 file and the FSF's license web page.
148 * configure.ac: Likewise.
150 2009-04-01 Ben Elliston <bje@au.ibm.com>
152 * decContext.h: Include gstdint.h instead of <stdint.h>.
154 2009-03-30 Ben Elliston <bje@au.ibm.com>
156 * decNumber.c, decNumber.h, decNumberLocal.h, decDouble.c,
157 decDouble.h, decSingle.c, decContext.c, decSingle.h, decPacked.c,
158 decCommon.c, decContext.h, decQuad.c, decPacked.h, decQuad.h,
159 decDPD.h, decBasic.c: Upgrade to decNumber 3.61.
160 * dpd/decimal128.h, dpd/decimal32.c, dpd/decimal32.h,
161 dpd/decimal64.c, dpd/decimal128.c, dpd/decimal64.h: Likewise.
163 2009-02-10 Joseph Myers <joseph@codesourcery.com>
165 * Makefile.in (clean): Don't remove makedepend$(EXEEXT).
167 2008-10-27 Janis Johnson <janis187@us.ibm.com>
170 * decDouble.h (decDouble): Replace struct with union accessible
172 * decSingle.h (decSingle): Ditto.
173 * decQuad.h (decQuad): Ditto.
174 * decNumberLocal.h (DFWORD, DFBYTE, DFWWORD): access decFloat via
176 * decBasic.c (decFloatCompareTotal): Avoid type-pun violation.
177 (decNumberCompare): Ditto.
179 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
181 * Makefile.in ($(srcdir)/aclocal.m4): Update dependencies.
182 * configure: Regenerate.
184 2008-06-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
186 * Makefile.in (datarootdir): New variable.
188 2008-06-10 Joseph Myers <joseph@codesourcery.com>
191 * decContext.c, decExcept.c, decExcept.h, decLibrary.c,
192 decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c,
193 dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h.
194 * dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign,
195 decimal128FlipSign): Use WORDS_BIGENDIAN not
196 FLOAT_WORDS_BIG_ENDIAN.
197 * bid/host-ieee128.c: Include dconfig.h.
198 (__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of
199 value if WORDS_BIGENDIAN.
201 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
204 * aclocal.m4: Regenerate.
205 * configure: Regenerate.
207 2008-04-18 Ben Elliston <bje@au.ibm.com>
209 * Makefile.in (distclean): Add gstdint.h.
211 2008-01-25 Janis Johnson <janis187@us.ibm.com>
213 * decCommonSymbols.h: Commit.
214 * decDPDSybmols.h: Commit.
216 * Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
217 * decCommonSymbols.h: New file.
218 * decCommon.c: Include it.
219 * decDPDSymbols.h: New file.
220 * decDPD.h: Include it.
221 * decNumberLocal.h: Include the two new files.
222 * decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New.
223 * decNumberSymbols.h (LNnn, d2utable): New.
224 * dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
225 * dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
226 * dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
227 * dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD.
228 * dpd/decimal64.c: Ditto.
229 * dpd/decimal128.c: Ditto.
231 2007-11-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
233 * Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies
234 and substitute $< for the source file in compilation command.
235 (decimal64.o): Likewise.
236 (decimal128.o): Likewise.
237 (bid2dpd_dpd2bid.o): Likewise.
238 (host-ieee32.o): Likewise.
239 (host-ieee64.o): Likewise.
240 (host-ieee128.o): Likewise.
242 2007-10-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
244 * configure.ac: Add ADDITIONAL_OBJS variable.
245 * Makefile.in (bid_OBS): New.
246 (libdecnumber_a_OBJS): Add ADDITIONAL_OBJS, remove condition
247 on enable_decimal_float.
248 * configure: Regenerate.
250 2007-09-10 Janis Johnson <janis187@us.ibm.com>
251 Ben Elliston <bje@au.ibm.com>
253 * Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
254 (dependencies): Add Symbols headers.
255 * decContext.c: Upgrade to decNumber 3.53.
256 * decContext.h: Ditto.
258 * decNumber.c: Ditto.
259 * decNumber.h: Ditto.
260 * decNumberLocal.h: Ditto.
261 * decBasic.c: New file from decNumber 3.53.
262 * decCommon.c: Ditto.
263 * decDouble.c: Ditto.
264 * decDouble.h: Ditto.
267 * decSingle.c: Ditto.
268 * decSingle.h: Ditto.
269 * decPacked.c: Ditto.
270 * decPacked.h: Ditto.
271 * dpd/decimal128.c: Upgrade to decNumber 3.53.
272 * dpd/decimal128.h: Ditto.
273 * dpd/decimal32.c: Ditto.
274 * dpd/decimal32.h: Ditto.
275 * dpd/decimal64.c: Ditto.
276 * dpd/decimal64.h: Ditto.
277 * decLibrary.c (__dec_byte_swap): Remove.
278 * decContextSymbols.h: New file.
279 * decDoubleSymbols.h: New file.
280 * decNumberSymbols.h: New file.
281 * decPackedSymbols.h: New file.
282 * decQuadSymbols.h: New file.
283 * decSingleSymbols.h: New file.
284 * decUtility.c: Delete file.
285 * decUtility.h: Delete file.
286 * bid/decimal128Symbols.h: New file.
287 * bid/decimal128Local.h: New file.
288 * bid/decimal32Symbols.h: New file.
289 * bid/decimal64Symbols.h: New file.
290 * bid/host-ieee128.c (__swap128): Remove.
291 (__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
292 * bid/host-ieee32.c (__dec_type_swap): Remove.
293 (__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
294 * bid/host-ieee64.c (__swap64): Remove.
295 (__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
296 * dpd/decimal32Symbols.h: New file.
297 * dpd/decimal64Symbols.h: New file.
298 * dpd/decimal128Symbols.h: New file.
299 * dpd/decimal128Local.h: New file.
301 2007-06-18 Martin Michlmayr <tbm@cyrius.com>
302 H.J. Lu <hongjiu.lu@intel.com>
304 * configure.ac: Add AC_CANONICAL_TARGET.
305 * configure: Regenerated.
307 2007-04-16 H.J. Lu <hongjiu.lu@intel.com>
309 * Makefile.in (aclocal.m4): Depend on stdint.m4 instead of
312 * aclocal.m4: Regenerated by aclocal 1.9.6.
314 2007-04-11 Kai Tietz <kai.tietz@onevision.com>
316 * configure: Regenerate.
318 2007-03-23 Michael Meissner <michael.meissner@amd.com>
319 H.J. Lu <hongjiu.lu@intel.com>
320 Marius Cornea <marius.cornea@intel.com>
322 * Makefile.in (enable_decimal_float): New.
323 (libdecnumber_a_OBJS): Add bid2dpd_dpd2bid.o, host-ieee32.o,
324 host-ieee64.o and host-ieee128.o for BID.
325 (libdecnumber_a_SOURCES): Support DPD and BID.
326 (decimal32.o): Support dependency for both DPD and BID.
327 (decimal64.o): Likewise.
328 (decimal128.o): Likewise.
329 (bid2dpd_dpd2bid.o): New target.
330 (host-ieee32.o): Likewise.
331 (host-ieee64.o): Likewise.
332 (host-ieee128.o): Likewise.
334 * bid/bid-dpd.h: New file.
335 * bid/decimal128.c: Likewise.
336 * bid/decimal128.h: Likewise.
337 * bid/decimal32.c: Likewise.
338 * bid/decimal32.h: Likewise.
339 * bid/decimal64.c: Likewise.
340 * bid/decimal64.h: Likewise.
341 * bid/host-ieee128.c: Likewise.
342 * bid/host-ieee32.c: Likewise.
343 * bid/host-ieee64.c: Likewise.
344 * bid/bid2dpd_dpd2bid.c: Likewise.
345 * bid/bid2dpd_dpd2bid.h: Likewise.
347 * decimal128.c: Moved to ...
348 * dpd/decimal128.c: This.
349 * decimal128.h: Moved to ...
350 * dpd/decimal128.h: This.
351 * decimal32.c: Moved to ...
352 * dpd/decimal32.c: This.
353 * decimal32.h: Moved to ...
354 * dpd/decimal32.h: This.
355 * decimal64.c: Moved to ...
356 * dpd/decimal64.c: This.
357 * decimal64.h: Moved to ...
358 * dpd/decimal64.h: This.
360 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
361 Add AC_C_BIGENDIAN. Substitute enable_decimal_float.
362 * config.in: Add decimal support variables.
363 * configure: Regenerate.
366 * decimal128.h (decimal128ClearSign): New.
367 (decimal128FlipSign): Likewise.
369 * decimal32.h: (decimal32ClearSign): New.
370 (decimal32FlipSign): Likewise.
372 * decimal64.h (decimal64ClearSign): New.
373 (decimal64FlipSign): Likewise.
375 2007-03-08 Ben Elliston <bje@au.ibm.com>
377 * decContext.c, decContext.h, decDPD.h, decimal128.c,
378 decimal128.h, decimal32.c, decimal32.h, decimal64.c, decimal64.h,
379 decLibrary.c, decNumber.c, decNumber.h, decNumberLocal.h,
380 decRound.c, decRound.h, decUtility.c, decUtility.h: Add
381 libgcc-style license exception clause.
383 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
385 * Makefile.in: Add dummy install-pdf target.
387 2007-01-29 Janis Johnson <janis187@us.ibm.com>
392 2006-11-29 Janis Johnson <janis187@us.ibm.com>
394 * decRound.c: Move declarations to new file, update comments.
395 * decRound.h: New file.
397 2006-11-21 Janis Johnson <janis187@us.ibm.com>
399 * decLibrary.c (__dec_type_swap): Add prototype.
400 (__dfp_enable_traps, dfp_raise): Delete.
402 * Makefile.in: Don't include decRound in library used by compiler.
404 2006-10-10 Brooks Moses <bmoses@stanford.edu>
405 * Makefile.in: Added empty "pdf" target.
407 2006-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
409 * decNumber.c (decNumberPower): Constify.
410 * decNumber.h (decNumberPower): Likewise.
412 2006-09-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
414 * configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual.
415 * configure, config.in: Regenerate.
417 * decContext.c (decContextStatusToString): Constify.
418 * decContext.h (decContextStatusToString): Likewise.
419 * decNumber.c (decNumberToString, decNumberToEngString,
420 decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
421 decNumberDivideInteger, decNumberMax, decNumberMin,
422 decNumberMinus, decNumberPlus, decNumberMultiply,
423 decNumberNormalize, decNumberQuantize, decNumberRescale,
424 decNumberRemainder, decNumberRemainderNear,
425 decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
426 decNumberToIntegralValue, decNumberCopy, decToString, decAddOp,
427 decDivideOp, decMultiplyOp, decQuantizeOp, decCompareOp,
428 decCompare, decUnitCompare, decUnitAddSub, decRoundOperand,
429 decCopyFit, decSetCoeff, decGetInt, decNaNs, decGetDigits,
430 decNumberShow, decDumpAr, decCheckOperands, decCheckNumber):
432 * decNumber.h (decNumberToString, decNumberToEngString,
433 decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
434 decNumberDivideInteger, decNumberMax, decNumberMin,
435 decNumberMinus, decNumberMultiply, decNumberNormalize,
436 decNumberPlus, decNumberQuantize, decNumberRemainder,
437 decNumberRemainderNear, decNumberRescale,
438 decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
439 decNumberToIntegralValue, decNumberCopy): Likewise.
440 * decUtility.c (decDensePackCoeff, decDenseUnpackCoeff):
442 * decUtility.h (decDensePackCoeff, decDenseUnpackCoeff):
444 * decimal128.c (decimal128FromNumber, decimal128ToNumber,
445 decimal128ToString, decimal128ToEngString, decimal128Show):
447 * decimal128.h (decimal128ToString, decimal128ToEngString,
448 decimal128FromNumber, decimal128ToNumber): Likewise.
449 * decimal32.c (decimal32FromNumber, decimal32ToNumber,
450 decimal32ToString, decimal32ToEngString, decimal32Show):
452 * decimal32.h (decimal32ToString, decimal32ToEngString,
453 decimal32FromNumber, decimal32ToNumber): Likewise.
454 * decimal64.c (decimal64FromNumber, decimal64ToNumber,
455 decimal64ToString, decimal64ToEngString, decimal64Show):
457 * decimal64.h (decimal64ToString, decimal64ToEngString,
458 decimal64FromNumber, decimal64ToNumber): Likewise.
460 2006-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
462 * decContext.c (decContextSetStatusFromString): Constify.
463 * decContext.h (decContextSetStatusFromString): Likewise.
464 * decNumber.c (decNumberFromString): Likewise.
465 * decNumber.h (decNumberFromString): Likewise.
466 * decimal128.c (decimal128FromString): Likewise.
467 * decimal128.h (decimal128FromString): Likewise.
468 * decimal32.c (decimal32FromString): Likewise.
469 * decimal32.h (decimal32FromString): Likewise.
470 * decimal64.c (decimal64FromString): Likewise.
471 * decimal64.h (decimal64FromString): Likewise.
473 2006-07-25 Paolo Bonzini <bonzini@gnu.org>
476 * configure: Regenerate.
478 2006-06-23 Ben Elliston <bje@au.ibm.com>
480 * decNumber.h (decNumberNegate): Remove.
482 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
484 * Makefile.in: Add install-html target. Add install-html to .PHONY
486 2006-02-06 Ben Elliston <bje@au.ibm.com>
488 * decLibrary.c (__dec_byte_swap): Use uint32_t for argument and
491 2006-01-03 Roger Sayle <roger@eyesopen.com>
492 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
494 * decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
495 definition of strcpy from generating compilation warnings.
497 2006-01-02 Paolo Bonzini <bonzini@gnu.org>
500 * configure.ac: Use GCC_HEADER_STDINT.
501 * decContext.h: Include gstdint.h.
502 * aclocal.m4: Regenerate.
503 * configure: Regenerate.
505 2005-12-20 Roger Sayle <roger@eyesopen.com>
507 * decNumber.c (decStrEq): Cast string contents to unsigned char
508 instead of int before calling tolower.
510 2005-12-20 Roger Sayle <roger@eyesopen.com>
512 * decNumber.c (decStrEq): Cast operands to int before calling
513 tolower to avoid compilation warnings on Tru64.
515 2005-12-05 Ben Elliston <bje@au.ibm.com>
517 * Makefile.in (clean): Remove stray reference to libcpp.a.
519 * decimal128.h, decContext.c, decRound.c, decimal32.c,
520 decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
521 decimal64.h, decUtility.c, decLibrary.c, configure.ac,
522 decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
525 2005-12-01 Ben Elliston <bje@au.ibm.com>
527 * Makefile.in (libdecnumber_a_SOURCES): Drop decLibrary.c.
528 * decUtility.c (__dec_byte_swap): Move from here ..
529 * decLibrary.c: .. to here.
531 2005-11-23 Gerald Pfeifer <gerald@pfeifer.com>
533 * decContext.h: Properly guard inclusion of stdint.h
534 * decContext.c: Include config.h
535 * decLibrary.c: Ditto.
536 * decNumber.c: Ditto.
538 * decUtility.c: Ditto.
539 * decimal32.c: Ditto.
540 * decimal64.c: Ditto.
541 * decimal128.c: Ditto.
543 2005-11-29 Ben Elliston <bje@au.ibm.com>
545 * decUtility.c: Remove redundant #includes.
546 * decUtility.h (__dec_byte_swap): Remove prototype.
548 2005-11-29 Ben Elliston <bje@au.ibm.com>
550 * configure.ac: New file.
551 * aclocal.m4: Likewise.
552 * Makefile.in: Likewise.
553 * configure: Generate.
554 * config.in: Likewise.
556 2005-11-29 Ben Elliston <bje@au.ibm.com>
558 * decimal32.h, decimal64.h, decimal128.h: New.
559 * decimal32.c, decimal64.c, decimal128.c: Likewise.
560 * decContext.c, decContext.h: Likewise.
561 * decUtility.c, decUtility.h: Likewise.
562 * decNumber.c, decNumber.h, decNumberLocal.h: Likewise.
563 * decDPD.h: Likewise.
564 * decLibrary.c, decRound.c: Likewise.