Re: [PATCH 0/1] Fenv support for SPARC

Joel Sherrill <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAF9ehCWs8kviKR7WUtQb1z5hJXom6uBHYuJou74fHyHbFybYqQ@mail.gmail.com>
I should add that we although just tested on 32-bit SPARC (V7/V8),
it appears to have 64-bit (V9) support. Eshan plans to follow up with
a patch similar to add that which will be structurally similar to the
x86_64/i386 relationship for sharing the implementation.

--joel

On Wed, Jun 3, 2020 at 6:36 PM Eshan dhawan <[email protected]> wrote:

> The Patch adds fenv support for SPARC.
>
> The implemenation files are taken from NetBSD.
>
> Eshan dhawan (1):
>   SPARC fenv support
>
>  newlib/configure.host                       |   1 +
>  newlib/libc/machine/sparc/sys/fenv.h        |  85 +++++
>  newlib/libm/machine/configure.in            |   1 +
>  newlib/libm/machine/sparc/Makefile.am       |  21 ++
>  newlib/libm/machine/sparc/configure.in      |  11 +
>  newlib/libm/machine/sparc/feclearexcept.c   |   7 +
>  newlib/libm/machine/sparc/fegetenv.c        |   7 +
>  newlib/libm/machine/sparc/fegetexceptflag.c |   7 +
>  newlib/libm/machine/sparc/fegetround.c      |   7 +
>  newlib/libm/machine/sparc/feholdexcept.c    |   7 +
>  newlib/libm/machine/sparc/fenv.c            | 350 ++++++++++++++++++++
>  newlib/libm/machine/sparc/feraiseexcept.c   |   7 +
>  newlib/libm/machine/sparc/fesetenv.c        |   7 +
>  newlib/libm/machine/sparc/fesetexceptflag.c |   7 +
>  newlib/libm/machine/sparc/fesetround.c      |   7 +
>  newlib/libm/machine/sparc/fetestexcept.c    |   7 +
>  newlib/libm/machine/sparc/feupdateenv.c     |   7 +
>  17 files changed, 546 insertions(+)
>  create mode 100644 newlib/libc/machine/sparc/sys/fenv.h
>  create mode 100644 newlib/libm/machine/sparc/Makefile.am
>  create mode 100644 newlib/libm/machine/sparc/configure.in
>  create mode 100644 newlib/libm/machine/sparc/feclearexcept.c
>  create mode 100644 newlib/libm/machine/sparc/fegetenv.c
>  create mode 100644 newlib/libm/machine/sparc/fegetexceptflag.c
>  create mode 100644 newlib/libm/machine/sparc/fegetround.c
>  create mode 100644 newlib/libm/machine/sparc/feholdexcept.c
>  create mode 100644 newlib/libm/machine/sparc/fenv.c
>  create mode 100644 newlib/libm/machine/sparc/feraiseexcept.c
>  create mode 100644 newlib/libm/machine/sparc/fesetenv.c
>  create mode 100644 newlib/libm/machine/sparc/fesetexceptflag.c
>  create mode 100644 newlib/libm/machine/sparc/fesetround.c
>  create mode 100644 newlib/libm/machine/sparc/fetestexcept.c
>  create mode 100644 newlib/libm/machine/sparc/feupdateenv.c
>
> --
> 2.17.1
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.