This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: i386 and x86_64 fenv support
- From: Joel Sherrill <joel at rtems dot org>
- To: Eric Blake <eblake at redhat dot com>
- Cc: Newlib <newlib at sourceware dot org>
- Date: Tue, 27 Aug 2019 08:45:38 -0500
- Subject: Re: i386 and x86_64 fenv support
- References: <CAF9ehCWrHVR3MAojGHEVwLp=44D7F-mE96Frr4fHyzkyPrU8ag@mail.gmail.com> <4ee23442-69d7-6b6c-62b5-f0b119c18cc3@redhat.com>
- Reply-to: joel at rtems dot org
On Tue, Aug 27, 2019 at 8:37 AM Eric Blake <eblake@redhat.com> wrote:
>
> On 8/27/19 8:31 AM, Joel Sherrill wrote:
> > Hi
> >
> > Earlier we discussed moving the winsup fenv.h files to newlib. Splitting
> > winsup/cygwin/include/fenv.h to create a sys/fenv.h looks easy enough.
> > But I have some status and a question after tinkering with this code out
> > of tree and compiling with the RTEMS i386 and x86_64
> >
> > It includes winsup.h and wincap.h but it doesn't need them.
> >
> > It is a C++ file and changing it to C only resulted in needing to change
> > bool to int and true/false to 1/0. That should be OK.
>
> Why not use <stdbool.h>, so you don't have to change bool to int?
Good idea. That works.
Thank you.
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc. +1-919-301-3226
> Virtualization: qemu.org | libvirt.org
>