Build failure on MIPS (strtorx.c) [Patch attached]
Maciej W. Rozycki
macro@imgtec.com
Wed Jan 27 01:14:00 GMT 2016
On Thu, 26 Nov 2015, Corinna Vinschen wrote:
> However, the *QNAN* values to support long double on MIPS are available
> in FreeBSD. Wouldn't it make sense to support long double on MIPS, too?
GCC has quad float support available for 64-bit MIPS targets, so yes,
support for 128-bit long double would be possible.
Question however is which of the two potential formats to choose: either
the IEEE quad format, only supported as soft-float with MIPS hardware, or
the IBM extended precision format, which can be handled with MIPS hardware
and was used by IRIX. Both are supported by GCC and both have advantages
and drawbacks. So I think the decision to support either or both will
best be left to such a time when there is actual interest, at which point
encoding the NaN patterns will likely be the least of a problem.
FWIW,
Maciej
More information about the Newlib
mailing list