Adding fenv support for ARM

Eshan Dhawan eshandhawan51 at gmail.com
Thu May 7 18:33:32 UTC 2020


Hello everyone,
This the tread to discuss adding fenv support for ARM architecture in
newlib.

Link to previous thread:
https://lists.rtems.org/pipermail/devel/2020-March/058473.html

---FreeBSD Source
# https://github.com/freebsd/freebsd/tree/master/lib/msun/arm
# https://github.com/freebsd/freebsd/blob/master/sys/arm/include/ieeefp.h
---NetBSD Source
# https://github.com/NetBSD/src/tree/trunk/lib/libm/arch/arm

--- Musl has no implementation for fenv support for ARM  in it

After going through the implementations both FreeBSD and NetBSD have a stub
implementation.
But then FreeBSD implementation seems to be more portable compared to that
in NetBSD.

Should I start porting it from FreeBSD?
And which ARM BSP should I use for testing the changes?
Currently, I have xilinx_zynq_a9_qemu build

There would also be a requirement to discuss where to place the files in
Newlib.

Thanks
-Eshan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200508/54c3c67a/attachment.html>


More information about the devel mailing list