Fwd: Sources for fenv (ARM, PPC, x86, SPARC and RISC5)

Vaibhav Gupta vaibhavgupta40 at gmail.com
Mon Jul 8 16:06:26 UTC 2019


---------- Forwarded message ---------
From: Vaibhav Gupta <vaibhavgupta40 at gmail.com>
Date: Wed, Jul 3, 2019, 11:38 PM
Subject: Sources for fenv (ARM, PPC, x86, SPARC and RISC5)
To: Joel Sherrill <joel at rtems.org>, aditya upadhyay <aadit0402 at gmail.com>,
Gedare Bloom <gedare at rtems.org>, Hesham Moustafa <heshamelmatary at gmail.com>,
RTEMS <devel at rtems.org>


Hello,
I have found sources for fenv.

1.1) - ARM FreeBSD Source:
- https://github.com/freebsd/freebsd/blob/master/lib/msun/arm/fenv.h
- https://github.com/freebsd/freebsd/blob/master/lib/msun/arm/fenv.c
.
1.2) - ARM NetBSD Source :
- https://github.com/NetBSD/src/blob/trunk/sys/arch/arm/include/fenv.h
- https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/arm/fenv.c
-----------------------------------------------------------------------------
2.1) - SPARC NetBSD Source :
- https://github.com/NetBSD/src/blob/trunk/sys/arch/sparc/include/fenv.h
- https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/sparc/fenv.c
----------------------------------------------------------------------------
3.1) - PPC FreeBSD Source:
- https://github.com/freebsd/freebsd/blob/master/lib/msun/powerpc/fenv.h
- https://github.com/freebsd/freebsd/blob/master/lib/msun/powerpc/fenv.c
.
3.2) - PPC NetBSD Source:
- https://github.com/NetBSD/src/blob/trunk/sys/arch/powerpc/include/fenv.h
- https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/powerpc/fenv.c
---------------------------------------------------------------------------
4.1) - x86 FreeBSD Source:
- https://github.com/freebsd/freebsd/blob/master/lib/msun/x86/fenv.h
.
4.2) - x86 NetBSD Source:
- https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/x86_64/fenv.c
--------------------------------------------------------------------------
5.1) - RISC5 FreeBSD Source:
- https://github.com/freebsd/freebsd/blob/master/lib/msun/riscv/fenv.h
- https://github.com/freebsd/freebsd/blob/master/lib/msun/riscv/fenv.c
.
5.2) - RISC5 NetBSD Source:
- https://github.com/NetBSD/src/blob/trunk/sys/arch/riscv/include/fenv.h
- https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/riscv/fenv.c
========================================================
========================================================

It's impossible to depend on either NetBSD or FreeBSD.
.
For some architectures, FreeBSD has code,
for some, NetBSD has.
.
For x86, Free BSD has explicit header
and NetBSD has .c file.
.
.
.
Vaibhav Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190708/698bd391/attachment-0002.html>


More information about the devel mailing list