* fenv soft-float support
@ 2020-07-14 8:00 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2020-07-14 8:00 UTC (permalink / raw)
To: Newlib
Hello,
the recent fenv patches added support for the soft-float implementation
of FreeBSD. Newlib uses the one from libgcc by default. They are not
compatible. Having an GCC incompatible soft-float fenv support in Newlib
makes no sense to me.
How can we fix this?
As a short-term fix, I would remove the FreeBSD fenv support. What
should we provide instead? I would just provide the hardware
implementation of the architecture for now. If someone uses this in a
soft-float configuration, he may get exceptions or some sort of
undefined behaviour. This is what you get on powerpc currently.
A long-term solution would be to add support for the GCC soft-float
implementation in libgcc. This requires changes in the GCC
configuration. I guess this is a bit of work.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-14 8:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14 8:00 fenv soft-float support Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).