Re: Sources to port fenv.h to ARM and AARCH64

2020-03-22 Thread Eshan Dhawan
It seems we can't follow a single platform We will be needing to take the preferred architectures from both FreeBSD as well as NetBSD What would you all suggest Also I musl has implementation structure similar to that in NetBSD and has some sort of support present for architectures that are not sup

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-22 Thread Eshan Dhawan
On Sun, Mar 22, 2020 at 2:49 AM Joel Sherrill wrote: > > > On Sat, Mar 21, 2020 at 4:05 PM Aditya Upadhyay > wrote: > >> On Sun, Mar 22, 2020 at 1:56 AM Joel Sherrill wrote: >> > >> > >> > >> > On Sat, Mar 21, 2020, 3:16 PM Aditya Upadhyay >> wrote: >> >> >> >> On Sun, Mar 22, 2020 at 1:30 AM

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-22 Thread Vaibhav Gupta
> > >> >> >> I have cloned this NetBSD Sources. As I can see those >> >> architecture-specific implemented methods here. Please correct me if I >> >> am looking into different than what you are looking for. >> >> >> >> ./lib/libm/arch/powerpc/fenv.c >> >> ./lib/libm/arch/sh/fenv.c >> >> ./lib/libm/

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-21 Thread Joel Sherrill
On Sat, Mar 21, 2020 at 4:05 PM Aditya Upadhyay wrote: > On Sun, Mar 22, 2020 at 1:56 AM Joel Sherrill wrote: > > > > > > > > On Sat, Mar 21, 2020, 3:16 PM Aditya Upadhyay > wrote: > >> > >> On Sun, Mar 22, 2020 at 1:30 AM Joel Sherrill wrote: > >> > > >> > > >> > > >> > On Sat, Mar 21, 2020 a

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-21 Thread Aditya Upadhyay
On Sun, Mar 22, 2020 at 1:56 AM Joel Sherrill wrote: > > > > On Sat, Mar 21, 2020, 3:16 PM Aditya Upadhyay wrote: >> >> On Sun, Mar 22, 2020 at 1:30 AM Joel Sherrill wrote: >> > >> > >> > >> > On Sat, Mar 21, 2020 at 3:03 AM Aditya Upadhyay >> > wrote: >> >> >> >> >> >> >> >> On Sat, 21 Mar 20

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-21 Thread Joel Sherrill
On Sat, Mar 21, 2020, 3:16 PM Aditya Upadhyay wrote: > On Sun, Mar 22, 2020 at 1:30 AM Joel Sherrill wrote: > > > > > > > > On Sat, Mar 21, 2020 at 3:03 AM Aditya Upadhyay > wrote: > >> > >> > >> > >> On Sat, 21 Mar 2020, 10:29 Eshan Dhawan, > wrote: > >>> > >>> I went through the FreeBSD and

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-21 Thread Aditya Upadhyay
On Sun, Mar 22, 2020 at 1:30 AM Joel Sherrill wrote: > > > > On Sat, Mar 21, 2020 at 3:03 AM Aditya Upadhyay wrote: >> >> >> >> On Sat, 21 Mar 2020, 10:29 Eshan Dhawan, wrote: >>> >>> I went through the FreeBSD and NetBSD sources for implementation >>> In FreeBSD there is an architecture-specifi

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-21 Thread Eshan Dhawan
On Sun, Mar 22, 2020 at 1:30 AM Joel Sherrill wrote: > > > On Sat, Mar 21, 2020 at 3:03 AM Aditya Upadhyay > wrote: > >> >> >> On Sat, 21 Mar 2020, 10:29 Eshan Dhawan, wrote: >> >>> I went through the FreeBSD and NetBSD sources for implementation >>> In FreeBSD there is an architecture-specific

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-21 Thread Joel Sherrill
On Sat, Mar 21, 2020 at 3:03 AM Aditya Upadhyay wrote: > > > On Sat, 21 Mar 2020, 10:29 Eshan Dhawan, wrote: > >> I went through the FreeBSD and NetBSD sources for implementation >> In FreeBSD there is an architecture-specific implementation with >> different header file for each architecture it

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-21 Thread Aditya Upadhyay
On Sat, 21 Mar 2020, 10:29 Eshan Dhawan, wrote: > I went through the FreeBSD and NetBSD sources for implementation > In FreeBSD there is an architecture-specific implementation with different > header file for each architecture it supports . > Whereas in NetBSD there is a single fenv.h defined bu

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-20 Thread Eshan Dhawan
I went through the FreeBSD and NetBSD sources for implementation In FreeBSD there is an architecture-specific implementation with different header file for each architecture it supports . Whereas in NetBSD there is a single fenv.h defined but each architecture has its own C file to implement the fu

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-20 Thread Joel Sherrill
On Fri, Mar 20, 2020 at 3:33 PM Eshan Dhawan wrote: > thanks, dr Joel > > I had gone through the musl-libc library but it doesn't have much > architecture specific support for ARM as well as AARCH64 > It has support for s390x, m68k, powerpc64 > This type of evaluation is important. The architec

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-20 Thread Eshan Dhawan
Then I will be giving preference to FreeBSD On Sat, Mar 21, 2020 at 2:03 AM Eshan Dhawan wrote: > thanks, dr Joel > > I had gone through the musl-libc library but it doesn't have much > architecture specific support for ARM as well as AARCH64 > It has support for s390x, m68k, powerpc64 > > > On

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-20 Thread Eshan Dhawan
thanks, dr Joel I had gone through the musl-libc library but it doesn't have much architecture specific support for ARM as well as AARCH64 It has support for s390x, m68k, powerpc64 On Sat, Mar 21, 2020 at 1:32 AM Joel Sherrill wrote: > > > On Fri, Mar 20, 2020 at 2:43 PM Eshan Dhawan > wrote:

Re: Sources to port fenv.h to ARM and AARCH64

2020-03-20 Thread Joel Sherrill
On Fri, Mar 20, 2020 at 2:43 PM Eshan Dhawan wrote: > What would be the preferred source to port fenv.h to ARM and AARCH64 > its implementation is present in both FreeBSD as well AS NetBSD > -> ARM > ---FreeBSD Source > # https://github.com/freebsd/freebsd/tree/master/lib/msun/arm > ---NetBSD Sou

Sources to port fenv.h to ARM and AARCH64

2020-03-20 Thread Eshan Dhawan
What would be the preferred source to port fenv.h to ARM and AARCH64 its implementation is present in both FreeBSD as well AS NetBSD -> ARM ---FreeBSD Source # https://github.com/freebsd/freebsd/tree/master/lib/msun/arm ---NetBSD Source # https://github.com/NetBSD/src/tree/trunk/lib/libm/arch/arm