<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Vaibhav Gupta</strong> <span dir="auto"><<a href="mailto:vaibhavgupta40@gmail.com">vaibhavgupta40@gmail.com</a>></span><br>Date: Wed, Jul 3, 2019, 11:38 PM<br>Subject: Sources for fenv (ARM, PPC, x86, SPARC and RISC5)<br>To: Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>>, aditya upadhyay <<a href="mailto:aadit0402@gmail.com">aadit0402@gmail.com</a>>, Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>>, Hesham Moustafa <<a href="mailto:heshamelmatary@gmail.com">heshamelmatary@gmail.com</a>>, RTEMS <<a href="mailto:devel@rtems.org">devel@rtems.org</a>><br></div><br><br><div dir="ltr"><div>Hello,</div><div>I have found sources for fenv.</div><div><br></div><div>1.1) - ARM FreeBSD Source:</div><div><div>- <a href="https://github.com/freebsd/freebsd/blob/master/lib/msun/arm/fenv.h" target="_blank" rel="noreferrer">https://github.com/freebsd/freebsd/blob/master/lib/msun/arm/fenv.h</a></div></div><div>- <a href="https://github.com/freebsd/freebsd/blob/master/lib/msun/arm/fenv.c" target="_blank" rel="noreferrer">https://github.com/freebsd/freebsd/blob/master/lib/msun/arm/fenv.c</a></div><div>.<br></div><div>1.2) - ARM NetBSD Source : <br></div><div>- <a href="https://github.com/NetBSD/src/blob/trunk/sys/arch/arm/include/fenv.h" target="_blank" rel="noreferrer">https://github.com/NetBSD/src/blob/trunk/sys/arch/arm/include/fenv.h</a></div><div>- <a href="https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/arm/fenv.c" target="_blank" rel="noreferrer">https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/arm/fenv.c</a></div><div>-----------------------------------------------------------------------------</div><div>2.1) - SPARC NetBSD Source :</div><div>- <a href="https://github.com/NetBSD/src/blob/trunk/sys/arch/sparc/include/fenv.h" target="_blank" rel="noreferrer">https://github.com/NetBSD/src/blob/trunk/sys/arch/sparc/include/fenv.h</a></div><div>- <a href="https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/sparc/fenv.c" target="_blank" rel="noreferrer">https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/sparc/fenv.c</a></div><div>----------------------------------------------------------------------------</div><div>3.1) - PPC FreeBSD Source:</div><div>- <a href="https://github.com/freebsd/freebsd/blob/master/lib/msun/powerpc/fenv.h" target="_blank" rel="noreferrer">https://github.com/freebsd/freebsd/blob/master/lib/msun/powerpc/fenv.h</a></div><div>- <a href="https://github.com/freebsd/freebsd/blob/master/lib/msun/powerpc/fenv.c" target="_blank" rel="noreferrer">https://github.com/freebsd/freebsd/blob/master/lib/msun/powerpc/fenv.c</a></div><div>.<br></div><div>3.2) - PPC NetBSD Source:</div><div>- <a href="https://github.com/NetBSD/src/blob/trunk/sys/arch/powerpc/include/fenv.h" target="_blank" rel="noreferrer">https://github.com/NetBSD/src/blob/trunk/sys/arch/powerpc/include/fenv.h</a></div><div>- <a href="https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/powerpc/fenv.c" target="_blank" rel="noreferrer">https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/powerpc/fenv.c</a></div><div>---------------------------------------------------------------------------</div><div>4.1) - x86 FreeBSD Source:</div><div>- <a href="https://github.com/freebsd/freebsd/blob/master/lib/msun/x86/fenv.h" target="_blank" rel="noreferrer">https://github.com/freebsd/freebsd/blob/master/lib/msun/x86/fenv.h</a></div><div>.<br></div><div>4.2) - x86 NetBSD Source:</div><div>- <a href="https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/x86_64/fenv.c" target="_blank" rel="noreferrer">https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/x86_64/fenv.c</a></div><div>--------------------------------------------------------------------------</div><div>5.1) - RISC5 FreeBSD Source:</div><div>- <a href="https://github.com/freebsd/freebsd/blob/master/lib/msun/riscv/fenv.h" target="_blank" rel="noreferrer">https://github.com/freebsd/freebsd/blob/master/lib/msun/riscv/fenv.h</a></div><div>- <a href="https://github.com/freebsd/freebsd/blob/master/lib/msun/riscv/fenv.c" target="_blank" rel="noreferrer">https://github.com/freebsd/freebsd/blob/master/lib/msun/riscv/fenv.c</a></div><div>.<br></div><div>5.2) - RISC5 NetBSD Source:</div><div>- <a href="https://github.com/NetBSD/src/blob/trunk/sys/arch/riscv/include/fenv.h" target="_blank" rel="noreferrer">https://github.com/NetBSD/src/blob/trunk/sys/arch/riscv/include/fenv.h</a></div><div>- <a href="https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/riscv/fenv.c" target="_blank" rel="noreferrer">https://github.com/NetBSD/src/blob/trunk/lib/libm/arch/riscv/fenv.c</a></div><div>========================================================</div><div>========================================================</div><div><br></div><div>It's impossible to depend on either NetBSD or FreeBSD.</div><div>.<br></div><div>For some architectures, FreeBSD has code,</div><div>for some, NetBSD has.</div><div>.</div><div>For x86, Free BSD has explicit header</div><div>and NetBSD has .c file.</div><div>.</div><div>.</div><div>.</div><div>Vaibhav Gupta<br></div></div>
</div></div></div>