Re: [patch/rfc] Add host's floatformat

Zack Weinberg
2004-05-03T22:29:00Z

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