OSDN Git Service

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