[PATCH v2 0/2] Patch for fenv support of SPARC and MIPS

Corinna Vinschen vinschen@redhat.com
Fri Jul 3 08:48:17 GMT 2020


On Jul  3 02:43, Eshan dhawan via Newlib wrote:
> This patch series adds fenv support for mips and sparc
> These patches were sent earlier but had issues in applying
> 
> Eshan dhawan (2):
>   SPARC fenv support
>   mips fenv support
> 
>  newlib/configure.host                         |   2 +
>  newlib/libc/machine/mips/machine/fenv-fp.h    | 207 +++++++++++
>  .../machine/mips/machine/fenv-softfloat.h     | 182 +++++++++
>  newlib/libc/machine/mips/sys/fenv.h           |  88 +++++
>  newlib/libc/machine/sparc/sys/fenv.h          |  85 +++++
>  newlib/libm/machine/configure.in              |   2 +
>  newlib/libm/machine/mips/Makefile.am          |  21 ++
>  newlib/libm/machine/mips/configure.in         |  11 +
>  newlib/libm/machine/mips/feclearexcept.c      |   7 +
>  newlib/libm/machine/mips/fegetenv.c           |   7 +
>  newlib/libm/machine/mips/fegetexceptflag.c    |   7 +
>  newlib/libm/machine/mips/fegetround.c         |   7 +
>  newlib/libm/machine/mips/feholdexcept.c       |   7 +
>  newlib/libm/machine/mips/fenv.c               |  74 ++++
>  newlib/libm/machine/mips/feraiseexcept.c      |   7 +
>  newlib/libm/machine/mips/fesetenv.c           |   7 +
>  newlib/libm/machine/mips/fesetexceptflag.c    |   7 +
>  newlib/libm/machine/mips/fesetround.c         |   7 +
>  newlib/libm/machine/mips/fetestexcept.c       |   7 +
>  newlib/libm/machine/mips/feupdateenv.c        |   7 +
>  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 +
>  34 files changed, 1208 insertions(+)

Pushed.  For some reason the libm config didn't include mips and sparc,
so I built the configuration for them for the first time.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat



More information about the Newlib mailing list