Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: ken@linux.vnet.ibm.com (Ken Werner), dj@redhat.com
Cc: gdb-patches@sourceware.org, gcc-patches@gcc.gnu.org
Subject: Re: [patch, libiberty, gdb] IEEE 754 half floating-point format
Date: Tue, 06 Jul 2010 13:06:00 -0000	[thread overview]
Message-ID: <201007061304.o66D4Sbh013365@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <201007021859.05191.ken@linux.vnet.ibm.com> from "Ken Werner" at Jul 02, 2010 06:59:05 PM

Ken Werner wrote:

> include/ChangeLog:
> 
> 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
> 
> 	* gfloatformat.h (floatformat_ieee_half_big): Add declaration.
> 	(floatformat_ieee_half_little): Likewise.
> 
> libiberty/ChangeLog:
> 
> 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
> 
> 	* floatformat.c (floatformat_ieee_half_big): New variable.
> 	(floatformat_ieee_half_little): Likewise.
> 
> ChangeLog:
> 
> 2010-07-02  Ken Werner  <ken.werner@de.ibm.com>
> 
> 	* gdbtypes.h (floatformats_ieee_half): Add declaration.
> 	* gdbtypes.c (floatformats_ieee_half): New variable.
> 	* doublest.c (floatformat_from_length): Set format to
> 	gdbarch_half_format if length matches.
> 	* gdbarch.sh (half_bit): New architecture method.
> 	(half_format): Likewise.
> 	* gdbarch.h: Regenerate.
> 	* gdbarch.c: Likewise.

DJ Delorie wrote:

> The libiberty parts are OK.  At least, they shouldn't break anything,
> I have no idea if the *values* are correct.


The GDB parts are OK as well.  As far as the values go, they seem correct
to me according to the IEEE spec and compared to GCC's real.c ...

I've checked the patch in to the src and gcc repositories now.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  parent reply	other threads:[~2010-07-06 13:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02 16:59 Ken Werner
2010-07-02 17:11 ` Ken Werner
2010-07-02 18:47   ` DJ Delorie
2010-07-06 13:06 ` Ulrich Weigand [this message]
2010-11-18 17:44 ` Joel Brobecker
2010-12-14 16:10   ` Ulrich Weigand
2010-12-15  5:07     ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201007061304.o66D4Sbh013365@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=dj@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=ken@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox