Soft Floating Point Exceptions

Joel Sherrill joel@rtems.org
Mon May 25 17:17:51 GMT 2020


Hi

An RTEMS GSoC student (Eshan Dhawan) has almost completed porting the
FreeBSD fenv code to newlib. Unfortunately, the software floating point
code calls  __softfloat_float_raise which has a couple of issues. First, he
can't find the code which probably indicates an issue in the BSD world but
no one likely cares because I doubt there is a BSD install on an ARM with
soft floating point.

Second, to use this in newlib, we will be relying on GCC's soft float
implementation which means something different has to happen. Is there an
equivalent routine in GCC? What should happen for
__softfloat_float_raise()?

Thanks.

--joel


More information about the Newlib mailing list