This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch, libiberty, gdb] IEEE 754 half floating-point format
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Ken Werner <ken at linux dot vnet dot ibm dot com>, gdb-patches at sourceware dot org
- Date: Wed, 15 Dec 2010 09:07:00 +0400
- Subject: Re: [patch, libiberty, gdb] IEEE 754 half floating-point format
- References: <20101118174427.GG2634@adacore.com> <201012141610.oBEGA5r2029793@d06av02.portsmouth.uk.ibm.com>
> > My only comment regarding this part of the patch is that "half_bit"
> > and "half_format" isn't very intuitive. Perhaps that's more obvious
> > to someone who programs in OpenCL if "half" is a type name? For
> > the other arch routines, the routine name makes it clear that it's
> > about floating point types, because it contains a name that is
> > clearly associated to floats (float, double, long double). What
> > about using "half_float_bit" and "half_float_format"?
[...]
> Of course, we could still change the name of the gdbarch callbacks
> if you think this would be more intuitive.
No one really commented on it, so it's probably not worth our trouble,
I think.
--
Joel