OSDN Git Service

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