Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Add mips fenv.h (From FreeBSD)



details:   https://anonhg.NetBSD.org/src/rev/b1bec78f5e62
branches:  trunk
changeset: 342428:b1bec78f5e62
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 21 17:02:32 2015 +0000

description:
Add mips fenv.h (From FreeBSD)

diffstat:

 sys/arch/algor/include/Makefile        |    4 +-
 sys/arch/algor/include/fenv.h          |    3 +
 sys/arch/amigappc/include/Makefile     |    3 +-
 sys/arch/arc/include/Makefile          |    4 +-
 sys/arch/arc/include/fenv.h            |    3 +
 sys/arch/bebox/include/Makefile        |    3 +-
 sys/arch/cobalt/include/Makefile       |    4 +-
 sys/arch/cobalt/include/fenv.h         |    3 +
 sys/arch/emips/include/Makefile        |    4 +-
 sys/arch/emips/include/fenv.h          |    3 +
 sys/arch/evbmips/include/Makefile      |    4 +-
 sys/arch/evbmips/include/fenv.h        |    3 +
 sys/arch/evbppc/include/Makefile       |    3 +-
 sys/arch/ews4800mips/include/Makefile  |    4 +-
 sys/arch/ews4800mips/include/fenv.h    |    3 +
 sys/arch/hpcmips/include/Makefile      |    4 +-
 sys/arch/hpcmips/include/fenv.h        |    3 +
 sys/arch/ibmnws/include/Makefile       |    3 +-
 sys/arch/macppc/include/Makefile       |    3 +-
 sys/arch/mips/include/Makefile         |    4 +-
 sys/arch/mips/include/fenv.h           |  225 +++++++++++++++++++++++++++++++++
 sys/arch/mipsco/include/Makefile       |    4 +-
 sys/arch/mipsco/include/fenv.h         |    3 +
 sys/arch/mvmeppc/include/Makefile      |    3 +-
 sys/arch/newsmips/include/Makefile     |    4 +-
 sys/arch/newsmips/include/fenv.h       |    3 +
 sys/arch/ofppc/include/Makefile        |    3 +-
 sys/arch/playstation2/include/Makefile |    4 +-
 sys/arch/playstation2/include/fenv.h   |    3 +
 sys/arch/pmax/include/Makefile         |    4 +-
 sys/arch/pmax/include/fenv.h           |    3 +
 sys/arch/powerpc/include/Makefile      |    4 +-
 sys/arch/prep/include/Makefile         |    3 +-
 sys/arch/rs6000/include/Makefile       |    3 +-
 sys/arch/sandpoint/include/Makefile    |    3 +-
 sys/arch/sbmips/include/Makefile       |    4 +-
 sys/arch/sbmips/include/fenv.h         |    3 +
 sys/arch/sgimips/include/Makefile      |    4 +-
 sys/arch/sgimips/include/fenv.h        |    3 +
 39 files changed, 314 insertions(+), 40 deletions(-)

diffs (truncated from 738 to 300 lines):

diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/algor/include/Makefile
--- a/sys/arch/algor/include/Makefile   Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/algor/include/Makefile   Mon Dec 21 17:02:32 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2011/07/17 20:54:35 joerg Exp $
+#      $NetBSD: Makefile,v 1.15 2015/12/21 17:02:32 christos Exp $
 
 INCSDIR=/usr/include/algor
 
@@ -7,7 +7,7 @@
        cdefs.h cpu.h \
        disklabel.h \
        ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h \
-       float.h \
+       fenv.h float.h \
        ieee.h ieeefp.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        intr.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/algor/include/fenv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/algor/include/fenv.h     Mon Dec 21 17:02:32 2015 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: fenv.h,v 1.1 2015/12/21 17:02:32 christos Exp $        */
+
+#include <mips/fenv.h>
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/amigappc/include/Makefile
--- a/sys/arch/amigappc/include/Makefile        Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/amigappc/include/Makefile        Mon Dec 21 17:02:32 2015 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.25 2014/07/23 18:19:43 alnsn Exp $
+#      $NetBSD: Makefile,v 1.26 2015/12/21 17:02:32 christos Exp $
 
 INCSDIR= /usr/include/amigappc
 
 INCS=  disklabel.h \
+       fenv.h \
        intr.h \
        sljit_machdep.h \
        vmparam.h
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/arc/include/Makefile
--- a/sys/arch/arc/include/Makefile     Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/arc/include/Makefile     Mon Dec 21 17:02:32 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.31 2011/07/17 20:54:37 joerg Exp $
+#      $NetBSD: Makefile,v 1.32 2015/12/21 17:02:32 christos Exp $
 
 INCSDIR= /usr/include/arc
 
@@ -9,7 +9,7 @@
        cdefs.h cpu.h \
        disklabel.h \
        ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h \
-       float.h \
+       fenv.h float.h \
        ieee.h ieeefp.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        kcore.h kdbparam.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/arc/include/fenv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/arc/include/fenv.h       Mon Dec 21 17:02:32 2015 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: fenv.h,v 1.1 2015/12/21 17:02:32 christos Exp $        */
+
+#include <mips/fenv.h>
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/bebox/include/Makefile
--- a/sys/arch/bebox/include/Makefile   Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/bebox/include/Makefile   Mon Dec 21 17:02:32 2015 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: Makefile,v 1.25 2014/07/23 18:19:43 alnsn Exp $
+#      $NetBSD: Makefile,v 1.26 2015/12/21 17:02:32 christos Exp $
 
 INCSDIR= /usr/include/bebox
 
 INCS=   bootinfo.h \
        disklabel.h \
+       fenv.h \
        intr.h \
        sljit_machdep.h \
        spkr.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/cobalt/include/Makefile
--- a/sys/arch/cobalt/include/Makefile  Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/cobalt/include/Makefile  Mon Dec 21 17:02:32 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.22 2014/07/23 18:19:43 alnsn Exp $
+#      $NetBSD: Makefile,v 1.23 2015/12/21 17:02:32 christos Exp $
 
 INCSDIR= /usr/include/cobalt
 
@@ -7,7 +7,7 @@
        cdefs.h cpu.h \
        disklabel.h \
        ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h \
-       float.h \
+       fenv.h float.h \
        ieee.h ieeefp.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        intr.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/cobalt/include/fenv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/cobalt/include/fenv.h    Mon Dec 21 17:02:32 2015 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: fenv.h,v 1.1 2015/12/21 17:02:32 christos Exp $        */
+
+#include <mips/fenv.h>
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/emips/include/Makefile
--- a/sys/arch/emips/include/Makefile   Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/emips/include/Makefile   Mon Dec 21 17:02:32 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2014/07/19 14:35:10 alnsn Exp $
+#      $NetBSD: Makefile,v 1.5 2015/12/21 17:02:32 christos Exp $
 
 INCSDIR= /usr/include/emips
 
@@ -7,7 +7,7 @@
        cdefs.h cpu.h \
        disklabel.h \
        ecoff_machdep.h elf_machdep.h emipsreg.h endian.h endian_machdep.h \
-       float.h \
+       fenv.h float.h \
        ieee.h ieeefp.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        intr.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/emips/include/fenv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/emips/include/fenv.h     Mon Dec 21 17:02:32 2015 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: fenv.h,v 1.1 2015/12/21 17:02:32 christos Exp $        */
+
+#include <mips/fenv.h>
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/evbmips/include/Makefile
--- a/sys/arch/evbmips/include/Makefile Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/evbmips/include/Makefile Mon Dec 21 17:02:32 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2014/07/23 18:19:43 alnsn Exp $
+#      $NetBSD: Makefile,v 1.17 2015/12/21 17:02:33 christos Exp $
 
 INCSDIR=/usr/include/evbmips
 
@@ -7,7 +7,7 @@
        cdefs.h cpu.h \
        disklabel.h \
        ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h \
-       float.h \
+       fenv.h float.h \
        ieee.h ieeefp.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        kcore.h kdbparam.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/evbmips/include/fenv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/evbmips/include/fenv.h   Mon Dec 21 17:02:32 2015 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: fenv.h,v 1.1 2015/12/21 17:02:33 christos Exp $        */
+
+#include <mips/fenv.h>
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/evbppc/include/Makefile
--- a/sys/arch/evbppc/include/Makefile  Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/evbppc/include/Makefile  Mon Dec 21 17:02:32 2015 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.7 2014/07/23 18:19:43 alnsn Exp $
+#      $NetBSD: Makefile,v 1.8 2015/12/21 17:02:33 christos Exp $
 
 INCSDIR= /usr/include/evbppc
 
 INCS=  disklabel.h \
+       fenv.h \
        intr.h \
        sljit_machdep.h \
        vmparam.h 
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/ews4800mips/include/Makefile
--- a/sys/arch/ews4800mips/include/Makefile     Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/ews4800mips/include/Makefile     Mon Dec 21 17:02:32 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2014/07/23 18:19:43 alnsn Exp $
+#      $NetBSD: Makefile,v 1.8 2015/12/21 17:02:33 christos Exp $
 
 INCSDIR= /usr/include/ews4800mips
 
@@ -7,7 +7,7 @@
        cdefs.h cpu.h \
        disklabel.h \
        ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h \
-       float.h \
+       fenv.h float.h \
        ieee.h ieeefp.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        kcore.h kdbparam.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/ews4800mips/include/fenv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/ews4800mips/include/fenv.h       Mon Dec 21 17:02:32 2015 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: fenv.h,v 1.1 2015/12/21 17:02:33 christos Exp $        */
+
+#include <mips/fenv.h>
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/hpcmips/include/Makefile
--- a/sys/arch/hpcmips/include/Makefile Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/hpcmips/include/Makefile Mon Dec 21 17:02:32 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.24 2014/07/23 18:19:44 alnsn Exp $
+#      $NetBSD: Makefile,v 1.25 2015/12/21 17:02:33 christos Exp $
 
 INCSDIR= /usr/include/hpcmips
 
@@ -7,7 +7,7 @@
        cdefs.h cpu.h \
        disklabel.h \
        ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h \
-       float.h \
+       fenv.h float.h \
        ieee.h ieeefp.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        intr.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/hpcmips/include/fenv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/hpcmips/include/fenv.h   Mon Dec 21 17:02:32 2015 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: fenv.h,v 1.1 2015/12/21 17:02:33 christos Exp $        */
+
+#include <mips/fenv.h>
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/ibmnws/include/Makefile
--- a/sys/arch/ibmnws/include/Makefile  Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/ibmnws/include/Makefile  Mon Dec 21 17:02:32 2015 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.6 2014/07/23 18:19:44 alnsn Exp $
+#      $NetBSD: Makefile,v 1.7 2015/12/21 17:02:33 christos Exp $
 
 INCSDIR= /usr/include/ibmnws
 
 INCS=   disklabel.h \
+       fenv.h \
        intr.h \
        sljit_machdep.h \
        vmparam.h
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/macppc/include/Makefile
--- a/sys/arch/macppc/include/Makefile  Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/macppc/include/Makefile  Mon Dec 21 17:02:32 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.21 2014/07/23 18:19:44 alnsn Exp $
+#      $NetBSD: Makefile,v 1.22 2015/12/21 17:02:33 christos Exp $
 
 INCSDIR= /usr/include/macppc
 
@@ -7,6 +7,7 @@
 INCS=  adbsys.h apmvar.h autoconf.h \
        disklabel.h \
        grfioctl.h \
+       fenv.h \
        intr.h \
        keyboard.h \
        sljit_machdep.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/mips/include/Makefile
--- a/sys/arch/mips/include/Makefile    Mon Dec 21 17:02:02 2015 +0000
+++ b/sys/arch/mips/include/Makefile    Mon Dec 21 17:02:32 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.32 2014/07/23 18:19:44 alnsn Exp $
+#      $NetBSD: Makefile,v 1.33 2015/12/21 17:02:33 christos Exp $
 
 INCSDIR= /usr/include/mips
 
@@ -6,7 +6,7 @@
        bswap.h \
        cachectl.h cdefs.h cpu.h cpuregs.h \
        ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h \
-       float.h \
+       fenv.h float.h \
        ieee.h ieeefp.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        kcore.h kdbparam.h \
diff -r b8e6abb3bc91 -r b1bec78f5e62 sys/arch/mips/include/fenv.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/mips/include/fenv.h      Mon Dec 21 17:02:32 2015 +0000
@@ -0,0 +1,225 @@
+/*     $NetBSD: fenv.h,v 1.1 2015/12/21 17:02:33 christos Exp $        */
+
+/*-
+ * Copyright (c) 2004-2005 David Schultz <das%FreeBSD.ORG@localhost>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD: head/lib/msun/mips/fenv.h 226218 2011-10-10 15:43:09Z das $
+ */



Home | Main Index | Thread Index | Old Index