[patch/rfc] Add host's floatformat
Mon Jul 26 21:12:00 GMT 2004
[picking up a really old thread]
>>Really, I don't see why this is better than a hardwired table
>>> mapping CPU to floating point format.
> Because most FPUs are IEEE, so except for the ones that aren't, it
> will auto-detect the FPU type. Having a table means that CPUs default
> to "broken", rather than defaulting to "probably works".
> It also means we don't have to keep tweaking the table as people
> change their minds about CPU naming schemes
This assume that the floatformat code works.
Below is a table generated by using floatformat to convert the double
1.0 into the corresponding architecture format. Notice the arm_ext_big
/ arm_littlebyte_bigword and double_big / double_littlebyte_bigword pairs:
I'm withdrawing my patch. I'll instead fix this as MarkK suggested -
local to GDB.
More information about the Binutils