Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch 0/4] decimal floating point support
@ 2007-09-20 21:57 Thiago Jung Bauermann
  2007-09-20 21:57 ` [patch 1/4] libdecnumber support Thiago Jung Bauermann
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Thiago Jung Bauermann @ 2007-09-20 21:57 UTC (permalink / raw)
  To: gdb-patches

:ADDPATCH language-feature:

Hi folks,

This is a continuation of the Decimal Floating Point support saga. :-)

It works with binaries generated by GCC 4.2.0 (which has software DFP
support) and also binaries using hardware DFP as found in POWER6
processors.

I refreshed for today's CVS HEAD the DFP patches I submitted previously
here:

http://sourceware.org/ml/gdb-patches/2007-03/msg00247.html

Please see the link above for more detailed discussion and references. 

The main change from the previous patch series is in the dfp.c file,
which interfaces with libdecnumber. The reason is that libdecnumber in
gcc's svn trunk was updated to version 3.53, bringing some changes with
it. 

Some .h files changed location, but more importantly the library now
stores decimal floats in host byte order. In previous versions,
libdecnumber always stored them in big endian, regardless of the host
byte order. The function match_endianness in dfp.c takes care of fixing
byte order before/after calling libdecnumber functions (decimal floats
are stored in target byte order in GDB data structures).

I also tidied up some minor things like fixing one or two ChangeLog
entries and updating copyright year in testcase files. When refreshing,
there were two rejects in gdbtypes because of the Great Builtin-Types
Reorganization that took place, but they were trivial to fix.

These patches have been tested on ppc32-linux, ppc64-linux and with
remote debugging using i386 host and ppc32 target (to test endianness
handling). I also checked that there are no regressions both in ppc32
and ppc64.

Is this ok for CVS HEAD?
-- 
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center


^ permalink raw reply	[flat|nested] 23+ messages in thread
[parent not found: <20070323030737.475073862@br.ibm.com>]

end of thread, other threads:[~2007-10-25 18:24 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-20 21:57 [patch 0/4] decimal floating point support Thiago Jung Bauermann
2007-09-20 21:57 ` [patch 1/4] libdecnumber support Thiago Jung Bauermann
2007-10-11 15:57   ` Daniel Jacobowitz
2007-10-11 16:07     ` Daniel Jacobowitz
2007-10-15 18:32       ` Thiago Jung Bauermann
2007-10-15 18:11     ` Thiago Jung Bauermann
2007-10-15 18:38       ` Daniel Jacobowitz
2007-10-25 18:23         ` Thiago Jung Bauermann
2007-09-20 21:57 ` [patch 3/4] decimal floating point support for expressions Thiago Jung Bauermann
2007-10-11 16:18   ` Daniel Jacobowitz
2007-10-15 18:12     ` Thiago Jung Bauermann
2007-10-24 20:12       ` Daniel Jacobowitz
2007-10-25 18:40         ` Thiago Jung Bauermann
2007-09-20 21:57 ` [patch 4/4] decimal floating point testcases Thiago Jung Bauermann
2007-10-11 16:19   ` Daniel Jacobowitz
2007-10-15 18:12     ` Thiago Jung Bauermann
2007-10-25 18:22       ` Thiago Jung Bauermann
2007-09-20 21:57 ` [patch 2/4] decimal floating point types Thiago Jung Bauermann
2007-10-11 16:00   ` Daniel Jacobowitz
2007-10-15 18:12     ` Thiago Jung Bauermann
2007-10-24 20:11       ` Daniel Jacobowitz
2007-10-25 18:24         ` Thiago Jung Bauermann
     [not found] <20070323030737.475073862@br.ibm.com>
2007-03-27 16:30 ` [patch 1/4] libdecnumber support Thiago Jung Bauermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox