[patch/rfc] Add host's floatformat

Zack Weinberg zack@codesourcery.com
Mon May 3 22:29:00 GMT 2004


DJ Delorie <dj@redhat.com> writes:

>> Like this?  I feel ill.
>
> One problem with your approach is that "1.0" may not be a suitable
> pattern to match for every FPU.  I left the test constant in the
> structure because some FPUs may need more esoteric patterns to
> differentiate themselves from other FPUs.  Hence the comment about
> keeping them in order, too.

Really, I don't see why this is better than a hardwired table mapping
CPU to floating point format.  You gotta have that for the target side
anyway.

zw



More information about the Gdb-patches mailing list