[0/1] MIPS fenv support

Message ID 20200613232837.9264-1-eshandhawan51@gmail.com
Headers show
Series
  • MIPS fenv support
Related show

Message

Torbjorn SVENSSON via Newlib June 13, 2020, 11:28 p.m.
This patch adds fenv support for mips.

The implemenation files are taken from FreeBSD.

Eshan dhawan (1):
  mips fenv support

 newlib/configure.host                         |   1 +
 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/libm/machine/configure.in              |   1 +
 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 +
 19 files changed, 662 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/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

-- 
2.17.1