This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build failure on MIPS (strtorx.c) [Patch attached]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]