OSDN Git Service

PR rtl-optimization/42621
[pf3gnuchains/gcc-fork.git] / libdecnumber / ChangeLog
1 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2
3         * configure: Regenerate.
4
5 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
6
7         * decContext.c (decContextTestEndian): Move adj definition into
8         #if DECCHECK guarded code.
9
10 2009-09-09  Paolo Bonzini  <bonzini@gnu.org>
11
12         * configure: Regenerate.
13
14 2009-09-08  Paolo Bonzini  <bonzini@gnu.org>
15
16         * configure: Regenerate.
17
18 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
19
20         * configure.ac (AC_PREREQ): Bump to 2.64.
21
22 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
23
24         * aclocal.m4: Regenerate.
25         * configure: Regenerate.
26         * config.in: Regenerate.
27
28 2009-08-13  Janis Johnson  <janis187@us.ibm.com>
29
30         PR c/41046
31         * decContext.c (decContextTestEndian): Call printf only if DECCHECK.
32         * decCommon.c ( decFloatShow): Define function only for DECCHECK
33         or DECTRACE.
34
35 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
36
37         * Makefile.in (aclocal_deps): New variable.
38         ($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
39
40 2009-05-31  Ian Lance Taylor  <iant@google.com>
41
42         * decContext.h: Add extern "C" if compiling with C++.
43         * decDPD.h: Likewise.
44         * decNumber.h: Likewise.
45         * dpd/decimal32.h: Likewise.
46         * dpd/decimal64.h: Likewise.
47         * dpd/decimal128.h: Likewise.
48
49 2009-04-09  Nick Clifton  <nickc@redhat.com>
50
51         * decRound.c: Change copyright header to refer to version 3 of
52         the GNU General Public License with version 3.1 of the GCC
53         Runtime Library Exception and to point readers at the COPYING3
54         and COPYING3.RUNTIME files and the FSF's license web page.
55         * bid/bid-dpd.h: Likewise.
56         * bid/bid2dpd_dpd2bid.c: Likewise.
57         * bid/bid2dpd_dpd2bid.h: Likewise.
58         * bid/decimal128.c: Likewise.
59         * bid/decimal32.c: Likewise.
60         * bid/decimal64.c: Likewise.
61         * bid/host-ieee128.c: Likewise.
62         * bid/host-ieee32.c: Likewise.
63         * bid/host-ieee64.c: Likewise.
64         * dconfig.h: Likewise.
65         * decBasic.c: Likewise.
66         * decCommon.c: Likewise.
67         * decContext.c: Likewise.
68         * decContext.h: Likewise.
69         * decDPD.h: Likewise.
70         * decDouble.c: Likewise.
71         * decDouble.h: Likewise.
72         * decExcept.c: Likewise.
73         * decExcept.h: Likewise.
74         * decLibrary.c: Likewise.
75         * decNumber.c: Likewise.
76         * decNumber.h: Likewise.
77         * decNumberLocal.h: Likewise.
78         * decPacked.c: Likewise.
79         * decPacked.h: Likewise.
80         * decQuad.c: Likewise.
81         * decQuad.h: Likewise.
82         * decRound.h: Likewise.
83         * decSingle.c: Likewise.
84         * decSingle.h: Likewise.
85         * dpd/decimal128.c: Likewise.
86         * dpd/decimal128.h: Likewise.
87         * dpd/decimal128Local.h: Likewise.
88         * dpd/decimal32.c: Likewise.
89         * dpd/decimal32.h: Likewise.
90         * dpd/decimal64.c: Likewise.
91         * dpd/decimal64.h: Likewise.
92
93 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
94
95         * Makefile.in: Change copyright header to refer to version
96         3 of the GNU General Public License and to point readers at the
97         COPYING3 file and the FSF's license web page.
98         * configure.ac: Likewise.
99
100 2009-04-01  Ben Elliston  <bje@au.ibm.com>
101
102         * decContext.h: Include gstdint.h instead of <stdint.h>.
103
104 2009-03-30  Ben Elliston  <bje@au.ibm.com>
105
106         * decNumber.c, decNumber.h, decNumberLocal.h, decDouble.c,
107         decDouble.h, decSingle.c, decContext.c, decSingle.h, decPacked.c,
108         decCommon.c, decContext.h, decQuad.c, decPacked.h, decQuad.h,
109         decDPD.h, decBasic.c: Upgrade to decNumber 3.61.
110         * dpd/decimal128.h, dpd/decimal32.c, dpd/decimal32.h,
111         dpd/decimal64.c, dpd/decimal128.c, dpd/decimal64.h: Likewise.
112
113 2009-02-10  Joseph Myers  <joseph@codesourcery.com>
114
115         * Makefile.in (clean): Don't remove makedepend$(EXEEXT).
116
117 2008-10-27  Janis Johnson  <janis187@us.ibm.com>
118
119         PR other/37897
120         * decDouble.h (decDouble): Replace struct with union accessible
121         by more types.
122         * decSingle.h (decSingle): Ditto.
123         * decQuad.h (decQuad): Ditto.
124         * decNumberLocal.h (DFWORD, DFBYTE, DFWWORD): access decFloat via
125         new members.
126         * decBasic.c (decFloatCompareTotal): Avoid type-pun violation.
127         (decNumberCompare): Ditto.
128
129 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
130
131         * Makefile.in ($(srcdir)/aclocal.m4): Update dependencies.
132         * configure: Regenerate.
133
134 2008-06-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
135
136         * Makefile.in (datarootdir): New variable.
137
138 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
139
140         * dconfig.h: New.
141         * decContext.c, decExcept.c, decExcept.h, decLibrary.c,
142         decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c,
143         dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h.
144         * dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign,
145         decimal128FlipSign): Use WORDS_BIGENDIAN not
146         FLOAT_WORDS_BIG_ENDIAN.
147         * bid/host-ieee128.c: Include dconfig.h.
148         (__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of
149         value if WORDS_BIGENDIAN.
150
151 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
152
153         PR bootstrap/35457
154         * aclocal.m4: Regenerate.
155         * configure: Regenerate.
156
157 2008-04-18  Ben Elliston  <bje@au.ibm.com>
158
159         * Makefile.in (distclean): Add gstdint.h.
160
161 2008-01-25  Janis Johnson  <janis187@us.ibm.com>
162
163         * decCommonSymbols.h: Commit.
164         * decDPDSybmols.h: Commit.
165
166         * Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
167         * decCommonSymbols.h: New file.
168         * decCommon.c: Include it.
169         * decDPDSymbols.h: New file.
170         * decDPD.h: Include it.
171         * decNumberLocal.h: Include the two new files.
172         * decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New.
173         * decNumberSymbols.h (LNnn, d2utable): New.
174         * dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
175         * dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
176         * dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
177         * dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD.
178         * dpd/decimal64.c: Ditto.
179         * dpd/decimal128.c: Ditto.
180
181 2007-11-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
182
183         * Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies
184         and substitute $< for the source file in compilation command.
185         (decimal64.o): Likewise.
186         (decimal128.o): Likewise.
187         (bid2dpd_dpd2bid.o): Likewise.
188         (host-ieee32.o): Likewise.
189         (host-ieee64.o): Likewise.
190         (host-ieee128.o): Likewise.
191
192 2007-10-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
193
194         * configure.ac: Add ADDITIONAL_OBJS variable.
195         * Makefile.in (bid_OBS): New.
196         (libdecnumber_a_OBJS): Add ADDITIONAL_OBJS, remove condition
197         on enable_decimal_float.
198         * configure: Regenerate.
199
200 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
201             Ben Elliston  <bje@au.ibm.com>
202
203         * Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
204         (dependencies): Add Symbols headers.
205         * decContext.c: Upgrade to decNumber 3.53.
206         * decContext.h: Ditto.
207         * decDPD.h: Ditto.
208         * decNumber.c: Ditto.
209         * decNumber.h: Ditto.
210         * decNumberLocal.h: Ditto.
211         * decBasic.c: New file from decNumber 3.53.
212         * decCommon.c: Ditto.
213         * decDouble.c: Ditto.
214         * decDouble.h: Ditto.
215         * decQuad.c: Ditto.
216         * decQuad.h: Ditto.
217         * decSingle.c: Ditto.
218         * decSingle.h: Ditto.
219         * decPacked.c: Ditto.
220         * decPacked.h: Ditto.
221         * dpd/decimal128.c: Upgrade to decNumber 3.53.
222         * dpd/decimal128.h: Ditto.
223         * dpd/decimal32.c: Ditto.
224         * dpd/decimal32.h: Ditto.
225         * dpd/decimal64.c: Ditto.
226         * dpd/decimal64.h: Ditto.
227         * decLibrary.c (__dec_byte_swap): Remove.
228         * decContextSymbols.h: New file.
229         * decDoubleSymbols.h: New file.
230         * decNumberSymbols.h: New file.
231         * decPackedSymbols.h: New file.
232         * decQuadSymbols.h: New file.
233         * decSingleSymbols.h: New file.
234         * decUtility.c: Delete file.
235         * decUtility.h: Delete file.
236         * bid/decimal128Symbols.h: New file.
237         * bid/decimal128Local.h: New file.
238         * bid/decimal32Symbols.h: New file.
239         * bid/decimal64Symbols.h: New file.
240         * bid/host-ieee128.c (__swap128): Remove.
241         (__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
242         * bid/host-ieee32.c (__dec_type_swap): Remove.
243         (__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
244         * bid/host-ieee64.c (__swap64): Remove.
245         (__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
246         * dpd/decimal32Symbols.h: New file.
247         * dpd/decimal64Symbols.h: New file.
248         * dpd/decimal128Symbols.h: New file.
249         * dpd/decimal128Local.h: New file.
250
251 2007-06-18  Martin Michlmayr  <tbm@cyrius.com>
252             H.J. Lu  <hongjiu.lu@intel.com>
253
254         * configure.ac: Add AC_CANONICAL_TARGET.
255         * configure: Regenerated.
256
257 2007-04-16  H.J. Lu  <hongjiu.lu@intel.com>
258
259         * Makefile.in (aclocal.m4): Depend on stdint.m4 instead of
260         acx.m4.
261
262         * aclocal.m4: Regenerated by aclocal 1.9.6.
263
264 2007-04-11  Kai Tietz   <kai.tietz@onevision.com>
265
266         * configure: Regenerate.
267
268 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
269             H.J. Lu  <hongjiu.lu@intel.com>
270             Marius Cornea  <marius.cornea@intel.com>
271
272         * Makefile.in (enable_decimal_float): New.
273         (libdecnumber_a_OBJS): Add bid2dpd_dpd2bid.o, host-ieee32.o,
274         host-ieee64.o and host-ieee128.o for BID.
275         (libdecnumber_a_SOURCES): Support DPD and BID.
276         (decimal32.o): Support dependency for both DPD and BID.
277         (decimal64.o): Likewise.
278         (decimal128.o): Likewise.
279         (bid2dpd_dpd2bid.o): New target.
280         (host-ieee32.o): Likewise.
281         (host-ieee64.o): Likewise.
282         (host-ieee128.o): Likewise.
283
284         * bid/bid-dpd.h: New file.
285         * bid/decimal128.c: Likewise.
286         * bid/decimal128.h: Likewise.
287         * bid/decimal32.c: Likewise.
288         * bid/decimal32.h: Likewise.
289         * bid/decimal64.c: Likewise.
290         * bid/decimal64.h: Likewise.
291         * bid/host-ieee128.c: Likewise.
292         * bid/host-ieee32.c: Likewise.
293         * bid/host-ieee64.c: Likewise.
294         * bid/bid2dpd_dpd2bid.c: Likewise.
295         * bid/bid2dpd_dpd2bid.h: Likewise.
296
297         * decimal128.c: Moved to ...
298         * dpd/decimal128.c: This.
299         * decimal128.h:  Moved to ...
300         * dpd/decimal128.h: This.
301         * decimal32.c: Moved to ...
302         * dpd/decimal32.c: This.
303         * decimal32.h: Moved to ...
304         * dpd/decimal32.h: This.
305         * decimal64.c: Moved to ...
306         * dpd/decimal64.c: This.
307         * decimal64.h: Moved to ...
308         * dpd/decimal64.h: This.
309
310         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
311         Add AC_C_BIGENDIAN.  Substitute enable_decimal_float.
312         * config.in: Add decimal support variables.
313         * configure: Regenerate.
314
315         PR other/30530
316         * decimal128.h (decimal128ClearSign): New.
317         (decimal128FlipSign): Likewise.
318
319         * decimal32.h: (decimal32ClearSign): New.
320         (decimal32FlipSign): Likewise.
321
322         * decimal64.h (decimal64ClearSign): New.
323         (decimal64FlipSign): Likewise.
324
325 2007-03-08  Ben Elliston  <bje@au.ibm.com>
326
327         * decContext.c, decContext.h, decDPD.h, decimal128.c,
328         decimal128.h, decimal32.c, decimal32.h, decimal64.c, decimal64.h,
329         decLibrary.c, decNumber.c, decNumber.h, decNumberLocal.h,
330         decRound.c, decRound.h, decUtility.c, decUtility.h: Add
331         libgcc-style license exception clause.
332
333 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
334
335         * Makefile.in: Add dummy install-pdf target.
336
337 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
338
339         * decExcept.c: New.
340         * decExcept.h: New.
341
342 2006-11-29  Janis Johnson  <janis187@us.ibm.com>
343
344         * decRound.c: Move declarations to new file, update comments.
345         * decRound.h: New file.
346
347 2006-11-21  Janis Johnson  <janis187@us.ibm.com>
348
349         * decLibrary.c (__dec_type_swap): Add prototype.
350         (__dfp_enable_traps, dfp_raise): Delete.
351
352         * Makefile.in: Don't include decRound in library used by compiler.
353
354 2006-10-10  Brooks Moses  <bmoses@stanford.edu> 
355         * Makefile.in: Added empty "pdf" target.
356
357 2006-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
358
359         * decNumber.c (decNumberPower): Constify.
360         * decNumber.h (decNumberPower): Likewise.
361
362 2006-09-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
363
364         * configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual.
365         * configure, config.in: Regenerate.
366
367         * decContext.c (decContextStatusToString): Constify.
368         * decContext.h (decContextStatusToString): Likewise.
369         * decNumber.c (decNumberToString, decNumberToEngString,
370         decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
371         decNumberDivideInteger, decNumberMax, decNumberMin,
372         decNumberMinus, decNumberPlus, decNumberMultiply,
373         decNumberNormalize, decNumberQuantize, decNumberRescale,
374          decNumberRemainder, decNumberRemainderNear,
375         decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
376         decNumberToIntegralValue, decNumberCopy, decToString, decAddOp,
377         decDivideOp, decMultiplyOp, decQuantizeOp, decCompareOp,
378         decCompare, decUnitCompare, decUnitAddSub, decRoundOperand,
379         decCopyFit, decSetCoeff, decGetInt, decNaNs, decGetDigits,
380         decNumberShow, decDumpAr, decCheckOperands, decCheckNumber):
381         Likewise.
382         * decNumber.h (decNumberToString, decNumberToEngString,
383         decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
384         decNumberDivideInteger, decNumberMax, decNumberMin,
385         decNumberMinus, decNumberMultiply, decNumberNormalize,
386         decNumberPlus, decNumberQuantize, decNumberRemainder,
387          decNumberRemainderNear, decNumberRescale,
388         decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
389         decNumberToIntegralValue, decNumberCopy): Likewise.
390         * decUtility.c (decDensePackCoeff, decDenseUnpackCoeff):
391         Likewise.
392         * decUtility.h (decDensePackCoeff, decDenseUnpackCoeff):
393         Likewise.
394         * decimal128.c (decimal128FromNumber, decimal128ToNumber,
395         decimal128ToString, decimal128ToEngString, decimal128Show):
396         Likewise.
397         * decimal128.h (decimal128ToString, decimal128ToEngString,
398         decimal128FromNumber, decimal128ToNumber): Likewise.
399         * decimal32.c (decimal32FromNumber, decimal32ToNumber,
400         decimal32ToString, decimal32ToEngString, decimal32Show):
401         Likewise.
402         * decimal32.h (decimal32ToString, decimal32ToEngString,
403         decimal32FromNumber, decimal32ToNumber): Likewise.
404         * decimal64.c (decimal64FromNumber, decimal64ToNumber,
405         decimal64ToString, decimal64ToEngString, decimal64Show):
406         Likewise.
407         * decimal64.h (decimal64ToString, decimal64ToEngString,
408         decimal64FromNumber, decimal64ToNumber): Likewise.
409
410 2006-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
411
412         * decContext.c (decContextSetStatusFromString): Constify.
413         * decContext.h (decContextSetStatusFromString): Likewise.
414         * decNumber.c (decNumberFromString): Likewise.
415         * decNumber.h (decNumberFromString): Likewise.
416         * decimal128.c (decimal128FromString): Likewise.
417         * decimal128.h (decimal128FromString): Likewise.
418         * decimal32.c (decimal32FromString): Likewise.
419         * decimal32.h (decimal32FromString): Likewise.
420         * decimal64.c (decimal64FromString): Likewise.
421         * decimal64.h (decimal64FromString): Likewise.
422
423 2006-07-25  Paolo Bonzini  <bonzini@gnu.org>
424
425         PR build/26188
426         * configure: Regenerate.
427
428 2006-06-23  Ben Elliston  <bje@au.ibm.com>
429
430         * decNumber.h (decNumberNegate): Remove.
431
432 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
433
434         * Makefile.in: Add install-html target. Add install-html to .PHONY
435
436 2006-02-06  Ben Elliston  <bje@au.ibm.com>
437
438         * decLibrary.c (__dec_byte_swap): Use uint32_t for argument and
439         return types.
440
441 2006-01-03  Roger Sayle  <roger@eyesopen.com>
442             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
443
444         * decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
445         definition of strcpy from generating compilation warnings.
446
447 2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
448
449         PR target/25259
450         * configure.ac: Use GCC_HEADER_STDINT.
451         * decContext.h: Include gstdint.h.
452         * aclocal.m4: Regenerate.
453         * configure: Regenerate.
454
455 2005-12-20  Roger Sayle  <roger@eyesopen.com>
456
457         * decNumber.c (decStrEq): Cast string contents to unsigned char
458         instead of int before calling tolower.
459
460 2005-12-20  Roger Sayle  <roger@eyesopen.com>
461
462         * decNumber.c (decStrEq): Cast operands to int before calling
463         tolower to avoid compilation warnings on Tru64.
464
465 2005-12-05  Ben Elliston  <bje@au.ibm.com>
466
467         * Makefile.in (clean): Remove stray reference to libcpp.a.
468
469         * decimal128.h, decContext.c, decRound.c, decimal32.c,
470         decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
471         decimal64.h, decUtility.c, decLibrary.c, configure.ac,
472         decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
473         office address.
474
475 2005-12-01  Ben Elliston  <bje@au.ibm.com>
476
477         * Makefile.in (libdecnumber_a_SOURCES): Drop decLibrary.c.
478         * decUtility.c (__dec_byte_swap): Move from here ..
479         * decLibrary.c: .. to here.
480
481 2005-11-23  Gerald Pfeifer  <gerald@pfeifer.com>
482
483         * decContext.h: Properly guard inclusion of stdint.h
484         * decContext.c: Include config.h
485         * decLibrary.c: Ditto.
486         * decNumber.c: Ditto.
487         * decRound.c: Ditto.
488         * decUtility.c: Ditto.
489         * decimal32.c: Ditto.
490         * decimal64.c: Ditto.
491         * decimal128.c: Ditto.
492         
493 2005-11-29  Ben Elliston  <bje@au.ibm.com>
494
495         * decUtility.c: Remove redundant #includes.
496         * decUtility.h (__dec_byte_swap): Remove prototype.
497
498 2005-11-29  Ben Elliston  <bje@au.ibm.com>
499
500         * configure.ac: New file.
501         * aclocal.m4: Likewise.
502         * Makefile.in: Likewise.
503         * configure: Generate.
504         * config.in: Likewise.
505
506 2005-11-29  Ben Elliston  <bje@au.ibm.com>
507
508         * decimal32.h, decimal64.h, decimal128.h: New.
509         * decimal32.c, decimal64.c, decimal128.c: Likewise.
510         * decContext.c, decContext.h: Likewise.
511         * decUtility.c, decUtility.h: Likewise.
512         * decNumber.c, decNumber.h, decNumberLocal.h: Likewise.
513         * decDPD.h: Likewise.
514         * decLibrary.c, decRound.c: Likewise.