merge from gcc
[external/binutils.git] / libdecnumber / ChangeLog
1 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
2
3         * dconfig.h: New.
4         * decContext.c, decExcept.c, decExcept.h, decLibrary.c,
5         decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c,
6         dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h.
7         * dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign,
8         decimal128FlipSign): Use WORDS_BIGENDIAN not
9         FLOAT_WORDS_BIG_ENDIAN.
10         * bid/host-ieee128.c: Include dconfig.h.
11         (__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of
12         value if WORDS_BIGENDIAN.
13
14 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
15
16         PR bootstrap/35457
17         * aclocal.m4: Regenerate.
18         * configure: Regenerate.
19
20 2008-04-18  Ben Elliston  <bje@au.ibm.com>
21
22         * Makefile.in (distclean): Add gstdint.h.
23
24 2008-01-25  Janis Johnson  <janis187@us.ibm.com>
25
26         * decCommonSymbols.h: Commit.
27         * decDPDSybmols.h: Commit.
28
29         * Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
30         * decCommonSymbols.h: New file.
31         * decCommon.c: Include it.
32         * decDPDSymbols.h: New file.
33         * decDPD.h: Include it.
34         * decNumberLocal.h: Include the two new files.
35         * decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New.
36         * decNumberSymbols.h (LNnn, d2utable): New.
37         * dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
38         * dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
39         * dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
40         * dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD.
41         * dpd/decimal64.c: Ditto.
42         * dpd/decimal128.c: Ditto.
43
44 2007-11-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
45
46         * Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies
47         and substitute $< for the source file in compilation command.
48         (decimal64.o): Likewise.
49         (decimal128.o): Likewise.
50         (bid2dpd_dpd2bid.o): Likewise.
51         (host-ieee32.o): Likewise.
52         (host-ieee64.o): Likewise.
53         (host-ieee128.o): Likewise.
54
55 2007-10-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
56
57         * configure.ac: Add ADDITIONAL_OBJS variable.
58         * Makefile.in (bid_OBS): New.
59         (libdecnumber_a_OBJS): Add ADDITIONAL_OBJS, remove condition
60         on enable_decimal_float.
61         * configure: Regenerate.
62
63 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
64             Ben Elliston  <bje@au.ibm.com>
65
66         * Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
67         (dependencies): Add Symbols headers.
68         * decContext.c: Upgrade to decNumber 3.53.
69         * decContext.h: Ditto.
70         * decDPD.h: Ditto.
71         * decNumber.c: Ditto.
72         * decNumber.h: Ditto.
73         * decNumberLocal.h: Ditto.
74         * decBasic.c: New file from decNumber 3.53.
75         * decCommon.c: Ditto.
76         * decDouble.c: Ditto.
77         * decDouble.h: Ditto.
78         * decQuad.c: Ditto.
79         * decQuad.h: Ditto.
80         * decSingle.c: Ditto.
81         * decSingle.h: Ditto.
82         * decPacked.c: Ditto.
83         * decPacked.h: Ditto.
84         * dpd/decimal128.c: Upgrade to decNumber 3.53.
85         * dpd/decimal128.h: Ditto.
86         * dpd/decimal32.c: Ditto.
87         * dpd/decimal32.h: Ditto.
88         * dpd/decimal64.c: Ditto.
89         * dpd/decimal64.h: Ditto.
90         * decLibrary.c (__dec_byte_swap): Remove.
91         * decContextSymbols.h: New file.
92         * decDoubleSymbols.h: New file.
93         * decNumberSymbols.h: New file.
94         * decPackedSymbols.h: New file.
95         * decQuadSymbols.h: New file.
96         * decSingleSymbols.h: New file.
97         * decUtility.c: Delete file.
98         * decUtility.h: Delete file.
99         * bid/decimal128Symbols.h: New file.
100         * bid/decimal128Local.h: New file.
101         * bid/decimal32Symbols.h: New file.
102         * bid/decimal64Symbols.h: New file.
103         * bid/host-ieee128.c (__swap128): Remove.
104         (__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
105         * bid/host-ieee32.c (__dec_type_swap): Remove.
106         (__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
107         * bid/host-ieee64.c (__swap64): Remove.
108         (__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
109         * dpd/decimal32Symbols.h: New file.
110         * dpd/decimal64Symbols.h: New file.
111         * dpd/decimal128Symbols.h: New file.
112         * dpd/decimal128Local.h: New file.
113
114 2007-06-18  Martin Michlmayr  <tbm@cyrius.com>
115             H.J. Lu  <hongjiu.lu@intel.com>
116
117         * configure.ac: Add AC_CANONICAL_TARGET.
118         * configure: Regenerated.
119
120 2007-04-16  H.J. Lu  <hongjiu.lu@intel.com>
121
122         * Makefile.in (aclocal.m4): Depend on stdint.m4 instead of
123         acx.m4.
124
125         * aclocal.m4: Regenerated by aclocal 1.9.6.
126
127 2007-04-11  Kai Tietz   <kai.tietz@onevision.com>
128
129         * configure: Regenerate.
130
131 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
132             H.J. Lu  <hongjiu.lu@intel.com>
133             Marius Cornea  <marius.cornea@intel.com>
134
135         * Makefile.in (enable_decimal_float): New.
136         (libdecnumber_a_OBJS): Add bid2dpd_dpd2bid.o, host-ieee32.o,
137         host-ieee64.o and host-ieee128.o for BID.
138         (libdecnumber_a_SOURCES): Support DPD and BID.
139         (decimal32.o): Support dependency for both DPD and BID.
140         (decimal64.o): Likewise.
141         (decimal128.o): Likewise.
142         (bid2dpd_dpd2bid.o): New target.
143         (host-ieee32.o): Likewise.
144         (host-ieee64.o): Likewise.
145         (host-ieee128.o): Likewise.
146
147         * bid/bid-dpd.h: New file.
148         * bid/decimal128.c: Likewise.
149         * bid/decimal128.h: Likewise.
150         * bid/decimal32.c: Likewise.
151         * bid/decimal32.h: Likewise.
152         * bid/decimal64.c: Likewise.
153         * bid/decimal64.h: Likewise.
154         * bid/host-ieee128.c: Likewise.
155         * bid/host-ieee32.c: Likewise.
156         * bid/host-ieee64.c: Likewise.
157         * bid/bid2dpd_dpd2bid.c: Likewise.
158         * bid/bid2dpd_dpd2bid.h: Likewise.
159
160         * decimal128.c: Moved to ...
161         * dpd/decimal128.c: This.
162         * decimal128.h:  Moved to ...
163         * dpd/decimal128.h: This.
164         * decimal32.c: Moved to ...
165         * dpd/decimal32.c: This.
166         * decimal32.h: Moved to ...
167         * dpd/decimal32.h: This.
168         * decimal64.c: Moved to ...
169         * dpd/decimal64.c: This.
170         * decimal64.h: Moved to ...
171         * dpd/decimal64.h: This.
172
173         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
174         Add AC_C_BIGENDIAN.  Substitute enable_decimal_float.
175         * config.in: Add decimal support variables.
176         * configure: Regenerate.
177
178         PR other/30530
179         * decimal128.h (decimal128ClearSign): New.
180         (decimal128FlipSign): Likewise.
181
182         * decimal32.h: (decimal32ClearSign): New.
183         (decimal32FlipSign): Likewise.
184
185         * decimal64.h (decimal64ClearSign): New.
186         (decimal64FlipSign): Likewise.
187
188 2007-03-08  Ben Elliston  <bje@au.ibm.com>
189
190         * decContext.c, decContext.h, decDPD.h, decimal128.c,
191         decimal128.h, decimal32.c, decimal32.h, decimal64.c, decimal64.h,
192         decLibrary.c, decNumber.c, decNumber.h, decNumberLocal.h,
193         decRound.c, decRound.h, decUtility.c, decUtility.h: Add
194         libgcc-style license exception clause.
195
196 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
197
198         * Makefile.in: Add dummy install-pdf target.
199
200 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
201
202         * decExcept.c: New.
203         * decExcept.h: New.
204
205 2006-11-29  Janis Johnson  <janis187@us.ibm.com>
206
207         * decRound.c: Move declarations to new file, update comments.
208         * decRound.h: New file.
209
210 2006-11-21  Janis Johnson  <janis187@us.ibm.com>
211
212         * decLibrary.c (__dec_type_swap): Add prototype.
213         (__dfp_enable_traps, dfp_raise): Delete.
214
215         * Makefile.in: Don't include decRound in library used by compiler.
216
217 2006-10-10  Brooks Moses  <bmoses@stanford.edu> 
218         * Makefile.in: Added empty "pdf" target.
219
220 2006-09-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
221
222         * decNumber.c (decNumberPower): Constify.
223         * decNumber.h (decNumberPower): Likewise.
224
225 2006-09-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
226
227         * configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wcast-qual.
228         * configure, config.in: Regenerate.
229
230         * decContext.c (decContextStatusToString): Constify.
231         * decContext.h (decContextStatusToString): Likewise.
232         * decNumber.c (decNumberToString, decNumberToEngString,
233         decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
234         decNumberDivideInteger, decNumberMax, decNumberMin,
235         decNumberMinus, decNumberPlus, decNumberMultiply,
236         decNumberNormalize, decNumberQuantize, decNumberRescale,
237          decNumberRemainder, decNumberRemainderNear,
238         decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
239         decNumberToIntegralValue, decNumberCopy, decToString, decAddOp,
240         decDivideOp, decMultiplyOp, decQuantizeOp, decCompareOp,
241         decCompare, decUnitCompare, decUnitAddSub, decRoundOperand,
242         decCopyFit, decSetCoeff, decGetInt, decNaNs, decGetDigits,
243         decNumberShow, decDumpAr, decCheckOperands, decCheckNumber):
244         Likewise.
245         * decNumber.h (decNumberToString, decNumberToEngString,
246         decNumberAbs, decNumberAdd, decNumberCompare, decNumberDivide,
247         decNumberDivideInteger, decNumberMax, decNumberMin,
248         decNumberMinus, decNumberMultiply, decNumberNormalize,
249         decNumberPlus, decNumberQuantize, decNumberRemainder,
250          decNumberRemainderNear, decNumberRescale,
251         decNumberSameQuantum, decNumberSquareRoot, decNumberSubtract,
252         decNumberToIntegralValue, decNumberCopy): Likewise.
253         * decUtility.c (decDensePackCoeff, decDenseUnpackCoeff):
254         Likewise.
255         * decUtility.h (decDensePackCoeff, decDenseUnpackCoeff):
256         Likewise.
257         * decimal128.c (decimal128FromNumber, decimal128ToNumber,
258         decimal128ToString, decimal128ToEngString, decimal128Show):
259         Likewise.
260         * decimal128.h (decimal128ToString, decimal128ToEngString,
261         decimal128FromNumber, decimal128ToNumber): Likewise.
262         * decimal32.c (decimal32FromNumber, decimal32ToNumber,
263         decimal32ToString, decimal32ToEngString, decimal32Show):
264         Likewise.
265         * decimal32.h (decimal32ToString, decimal32ToEngString,
266         decimal32FromNumber, decimal32ToNumber): Likewise.
267         * decimal64.c (decimal64FromNumber, decimal64ToNumber,
268         decimal64ToString, decimal64ToEngString, decimal64Show):
269         Likewise.
270         * decimal64.h (decimal64ToString, decimal64ToEngString,
271         decimal64FromNumber, decimal64ToNumber): Likewise.
272
273 2006-08-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
274
275         * decContext.c (decContextSetStatusFromString): Constify.
276         * decContext.h (decContextSetStatusFromString): Likewise.
277         * decNumber.c (decNumberFromString): Likewise.
278         * decNumber.h (decNumberFromString): Likewise.
279         * decimal128.c (decimal128FromString): Likewise.
280         * decimal128.h (decimal128FromString): Likewise.
281         * decimal32.c (decimal32FromString): Likewise.
282         * decimal32.h (decimal32FromString): Likewise.
283         * decimal64.c (decimal64FromString): Likewise.
284         * decimal64.h (decimal64FromString): Likewise.
285
286 2006-07-25  Paolo Bonzini  <bonzini@gnu.org>
287
288         PR build/26188
289         * configure: Regenerate.
290
291 2006-06-23  Ben Elliston  <bje@au.ibm.com>
292
293         * decNumber.h (decNumberNegate): Remove.
294
295 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
296
297         * Makefile.in: Add install-html target. Add install-html to .PHONY
298
299 2006-02-06  Ben Elliston  <bje@au.ibm.com>
300
301         * decLibrary.c (__dec_byte_swap): Use uint32_t for argument and
302         return types.
303
304 2006-01-03  Roger Sayle  <roger@eyesopen.com>
305             Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
306
307         * decNumber.c (__NO_STRING_INLINES): Define to prevent glibc macro
308         definition of strcpy from generating compilation warnings.
309
310 2006-01-02  Paolo Bonzini  <bonzini@gnu.org>
311
312         PR target/25259
313         * configure.ac: Use GCC_HEADER_STDINT.
314         * decContext.h: Include gstdint.h.
315         * aclocal.m4: Regenerate.
316         * configure: Regenerate.
317
318 2005-12-20  Roger Sayle  <roger@eyesopen.com>
319
320         * decNumber.c (decStrEq): Cast string contents to unsigned char
321         instead of int before calling tolower.
322
323 2005-12-20  Roger Sayle  <roger@eyesopen.com>
324
325         * decNumber.c (decStrEq): Cast operands to int before calling
326         tolower to avoid compilation warnings on Tru64.
327
328 2005-12-05  Ben Elliston  <bje@au.ibm.com>
329
330         * Makefile.in (clean): Remove stray reference to libcpp.a.
331
332         * decimal128.h, decContext.c, decRound.c, decimal32.c,
333         decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
334         decimal64.h, decUtility.c, decLibrary.c, configure.ac,
335         decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
336         office address.
337
338 2005-12-01  Ben Elliston  <bje@au.ibm.com>
339
340         * Makefile.in (libdecnumber_a_SOURCES): Drop decLibrary.c.
341         * decUtility.c (__dec_byte_swap): Move from here ..
342         * decLibrary.c: .. to here.
343
344 2005-11-23  Gerald Pfeifer  <gerald@pfeifer.com>
345
346         * decContext.h: Properly guard inclusion of stdint.h
347         * decContext.c: Include config.h
348         * decLibrary.c: Ditto.
349         * decNumber.c: Ditto.
350         * decRound.c: Ditto.
351         * decUtility.c: Ditto.
352         * decimal32.c: Ditto.
353         * decimal64.c: Ditto.
354         * decimal128.c: Ditto.
355         
356 2005-11-29  Ben Elliston  <bje@au.ibm.com>
357
358         * decUtility.c: Remove redundant #includes.
359         * decUtility.h (__dec_byte_swap): Remove prototype.
360
361 2005-11-29  Ben Elliston  <bje@au.ibm.com>
362
363         * configure.ac: New file.
364         * aclocal.m4: Likewise.
365         * Makefile.in: Likewise.
366         * configure: Generate.
367         * config.in: Likewise.
368
369 2005-11-29  Ben Elliston  <bje@au.ibm.com>
370
371         * decimal32.h, decimal64.h, decimal128.h: New.
372         * decimal32.c, decimal64.c, decimal128.c: Likewise.
373         * decContext.c, decContext.h: Likewise.
374         * decUtility.c, decUtility.h: Likewise.
375         * decNumber.c, decNumber.h, decNumberLocal.h: Likewise.
376         * decDPD.h: Likewise.
377         * decLibrary.c, decRound.c: Likewise.