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