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

Message ID 20200702211306.25526-1-eshandhawan51@gmail.com
Headers show
Series
  • Patch for fenv support of SPARC and MIPS
Related show

Message

Christophe Lyon via Newlib July 2, 2020, 9:13 p.m.
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(+)
 create mode 100644 newlib/libc/machine/mips/machine/fenv-fp.h
 create mode 100644 newlib/libc/machine/mips/machine/fenv-softfloat.h
 create mode 100644 newlib/libc/machine/mips/sys/fenv.h
 create mode 100644 newlib/libc/machine/sparc/sys/fenv.h
 create mode 100644 newlib/libm/machine/mips/Makefile.am
 create mode 100644 newlib/libm/machine/mips/configure.in
 create mode 100644 newlib/libm/machine/mips/feclearexcept.c
 create mode 100644 newlib/libm/machine/mips/fegetenv.c
 create mode 100644 newlib/libm/machine/mips/fegetexceptflag.c
 create mode 100644 newlib/libm/machine/mips/fegetround.c
 create mode 100644 newlib/libm/machine/mips/feholdexcept.c
 create mode 100644 newlib/libm/machine/mips/fenv.c
 create mode 100644 newlib/libm/machine/mips/feraiseexcept.c
 create mode 100644 newlib/libm/machine/mips/fesetenv.c
 create mode 100644 newlib/libm/machine/mips/fesetexceptflag.c
 create mode 100644 newlib/libm/machine/mips/fesetround.c
 create mode 100644 newlib/libm/machine/mips/fetestexcept.c
 create mode 100644 newlib/libm/machine/mips/feupdateenv.c
 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

Comments

Christophe Lyon via Newlib July 3, 2020, 8:48 a.m. | #1
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