Source-Changes-HG archive

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

[src/trunk]: src/lib/libc Rename ieee754_function.c to function_ieee754.c, fo...



details:   https://anonhg.NetBSD.org/src/rev/bb5126f54db3
branches:  trunk
changeset: 547074:bb5126f54db3
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon May 12 15:15:11 2003 +0000

description:
Rename ieee754_function.c to function_ieee754.c, following the convention
used in exec_format.c, loadfile_format.c, subsys_machdep.c etc.
Per discussion with Christos.

diffstat:

 lib/libc/arch/alpha/gen/Makefile.inc   |    8 +-
 lib/libc/arch/arm/gen/Makefile.inc     |    8 +-
 lib/libc/arch/hppa/gen/Makefile.inc    |   12 +-
 lib/libc/arch/i386/gen/Makefile.inc    |    6 +-
 lib/libc/arch/m68k/gen/Makefile.inc    |   14 +-
 lib/libc/arch/mips/gen/Makefile.inc    |    6 +-
 lib/libc/arch/ns32k/gen/Makefile.inc   |    6 +-
 lib/libc/arch/powerpc/gen/Makefile.inc |    8 +-
 lib/libc/arch/sh3/gen/Makefile.inc     |    8 +-
 lib/libc/arch/sh5/gen/Makefile.inc     |    6 +-
 lib/libc/arch/sparc/gen/Makefile.inc   |    6 +-
 lib/libc/arch/sparc64/gen/Makefile.inc |    6 +-
 lib/libc/arch/x86_64/gen/Makefile.inc  |    6 +-
 lib/libc/gen/frexp_ieee754.c           |   84 ++++++++++++++++++
 lib/libc/gen/ieee754_frexp.c           |   84 ------------------
 lib/libc/gen/ieee754_infinity.c        |   15 ---
 lib/libc/gen/ieee754_isinf.c           |   71 ---------------
 lib/libc/gen/ieee754_isnan.c           |   71 ---------------
 lib/libc/gen/ieee754_ldexp.c           |  152 ---------------------------------
 lib/libc/gen/ieee754_modf.c            |  103 ----------------------
 lib/libc/gen/ieee754_nanf.c            |   18 ---
 lib/libc/gen/infinity_ieee754.c        |   15 +++
 lib/libc/gen/isinf_ieee754.c           |   71 +++++++++++++++
 lib/libc/gen/isnan_ieee754.c           |   71 +++++++++++++++
 lib/libc/gen/ldexp_ieee754.c           |  152 +++++++++++++++++++++++++++++++++
 lib/libc/gen/modf_ieee754.c            |  103 ++++++++++++++++++++++
 lib/libc/gen/nanf_ieee754.c            |   18 +++
 27 files changed, 564 insertions(+), 564 deletions(-)

diffs (truncated from 1366 to 300 lines):

diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/alpha/gen/Makefile.inc
--- a/lib/libc/arch/alpha/gen/Makefile.inc      Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/alpha/gen/Makefile.inc      Mon May 12 15:15:11 2003 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: Makefile.inc,v 1.10 2003/01/21 20:14:07 kleink Exp $
+#      $NetBSD: Makefile.inc,v 1.11 2003/05/12 15:15:11 kleink Exp $
 
 SRCS+= fabs.S 
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c ieee754_ldexp.c
-SRCS+= ieee754_modf.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c ldexp_ieee754.c
+SRCS+= modf_ieee754.c
 
 SRCS+= flt_rounds.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c \
        fpsetround.c fpsetsticky.c
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/arm/gen/Makefile.inc
--- a/lib/libc/arch/arm/gen/Makefile.inc        Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/arm/gen/Makefile.inc        Mon May 12 15:15:11 2003 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile.inc,v 1.3 2003/01/18 11:06:24 thorpej Exp $
+# $NetBSD: Makefile.inc,v 1.4 2003/05/12 15:15:12 kleink Exp $
 
 SRCS+= alloca.S byte_swap_2.S byte_swap_4.S bswap64.c divsi3.S \
        fabs.c flt_rounds.c \
        infinity.c
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_nanf.c  # infinity is ``different'' on arm, use local version
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c ieee754_ldexp.c
-SRCS+= ieee754_modf.c
+SRCS+= nanf_ieee754.c  # infinity is ``different'' on arm, use local version
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c ldexp_ieee754.c
+SRCS+= modf_ieee754.c
 
 SRCS+= setjmp.S __setjmp14.S
 SRCS+= _setjmp.S
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/hppa/gen/Makefile.inc
--- a/lib/libc/arch/hppa/gen/Makefile.inc       Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/hppa/gen/Makefile.inc       Mon May 12 15:15:11 2003 +0000
@@ -1,13 +1,13 @@
-#      $NetBSD: Makefile.inc,v 1.3 2002/10/26 06:44:54 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.4 2003/05/12 15:15:13 kleink Exp $
 
 SRCS+= bswap16.c bswap32.c bswap64.c __sigsetjmp14.S __setjmp14.S _setjmp.S
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_ldexp.c
-SRCS+= ieee754_isinf.c
-SRCS+= ieee754_isnan.c
-SRCS+= ieee754_modf.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c ldexp_ieee754.c
+SRCS+= isinf_ieee754.c
+SRCS+= isnan_ieee754.c
+SRCS+= modf_ieee754.c
 
 # XXX Missing:
 # fabs, flt_rounds, fpgetmask, fpgetround, fpgetsticky
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/i386/gen/Makefile.inc
--- a/lib/libc/arch/i386/gen/Makefile.inc       Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/i386/gen/Makefile.inc       Mon May 12 15:15:11 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.13 2003/01/18 11:08:11 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.14 2003/05/12 15:15:13 kleink Exp $
 
 # objects built from assembler sources (need lint stubs)
 SRCS+= alloca.S byte_swap_2.S byte_swap_4.S fabs.S modf.S \
@@ -15,8 +15,8 @@
 SRCS+= bswap64.c ldexp.c _lwp.c makecontext.c
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c
 
 
 # "internal" objects (don't provide part of the user-visible API)
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/m68k/gen/Makefile.inc
--- a/lib/libc/arch/m68k/gen/Makefile.inc       Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/m68k/gen/Makefile.inc       Mon May 12 15:15:11 2003 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile.inc,v 1.15 2003/01/18 11:09:36 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.16 2003/05/12 15:15:13 kleink Exp $
 
 SRCS+= alloca.S fabs.S
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c
 
 SRCS+= ashlsi3.S ashrsi3.S \
        lshlsi3.S lshrsi3.S \
@@ -16,7 +16,7 @@
 # much of the (soft)float and integer support that would 
 # otherwise be compiled here.
 .if    ${MACHINE_ARCH} == "m68000"
-SRCS+= ieee754_modf.c                  # generic ieee754 version
+SRCS+= modf_ieee754.c                  # generic ieee754 version
 SRCS+= flt_rounds_softfloat.S
 .else
 SRCS+= modf.S
@@ -36,11 +36,11 @@
 SRCS+= makecontext.c resumecontext.S swapcontext.S
 
 .ifdef M68040
-SRCS+= ieee754_ldexp.c                 # generic ieee754 version
+SRCS+= ldexp_ieee754.c                 # generic ieee754 version
 .elifdef M68060
-SRCS+= ieee754_ldexp.c                 # generic ieee754 version
+SRCS+= ldexp_ieee754.c                 # generic ieee754 version
 .elif  ${MACHINE_ARCH} == "m68000"
-SRCS+= ieee754_ldexp.c                 # generic ieee754 version
+SRCS+= ldexp_ieee754.c                 # generic ieee754 version
 .else
 SRCS+= ldexp_881.c
 .endif
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/mips/gen/Makefile.inc
--- a/lib/libc/arch/mips/gen/Makefile.inc       Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/mips/gen/Makefile.inc       Mon May 12 15:15:11 2003 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile.inc,v 1.14 2003/01/18 11:10:43 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.15 2003/05/12 15:15:13 kleink Exp $
 
 SRCS+= fabs.S ldexp.S modf.S
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c
 
 SRCS+= flt_rounds.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c \
        fpsetround.c fpsetsticky.c
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/ns32k/gen/Makefile.inc
--- a/lib/libc/arch/ns32k/gen/Makefile.inc      Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/ns32k/gen/Makefile.inc      Mon May 12 15:15:11 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.15 2003/01/21 21:03:25 kleink Exp $
+#      $NetBSD: Makefile.inc,v 1.16 2003/05/12 15:15:13 kleink Exp $
 
 # objects built from assembler sources (need lint stubs)
 ASSRCS+=alloca.S fabs.S modf.S
@@ -18,8 +18,8 @@
        bswap64.c
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_nanf.c  ieee754_infinity.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c ieee754_ldexp.c
+SRCS+= nanf_ieee754.c  infinity_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c ldexp_ieee754.c
 
 SRCS+= makecontext.c
 
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/powerpc/gen/Makefile.inc
--- a/lib/libc/arch/powerpc/gen/Makefile.inc    Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/powerpc/gen/Makefile.inc    Mon May 12 15:15:11 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.10 2003/01/18 11:12:53 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.11 2003/05/12 15:15:14 kleink Exp $
 
 SRCS+= _setjmp.S setjmp.S sigsetjmp.S __setjmp14.S __sigsetjmp14.S
 SRCS+= bswap16.c bswap32.c bswap64.c
@@ -9,9 +9,9 @@
 SRCS+= _lwp.c makecontext.c resumecontext.c swapcontext.S
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c ieee754_ldexp.c
-SRCS+= ieee754_modf.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c ldexp_ieee754.c
+SRCS+= modf_ieee754.c
 
 LSRCS+=        Lint_swapcontext.c
 DPSRCS+=Lint_swapcontext.c
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/sh3/gen/Makefile.inc
--- a/lib/libc/arch/sh3/gen/Makefile.inc        Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/sh3/gen/Makefile.inc        Mon May 12 15:15:11 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.8 2003/01/18 11:14:00 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.9 2003/05/12 15:15:14 kleink Exp $
 
 SRCS+= _setjmp.S setjmp.S sigsetjmp.S __setjmp14.S __sigsetjmp14.S
 
@@ -9,9 +9,9 @@
 SRCS+= fabs.c flt_rounds.c bswap16.c bswap32.c bswap64.c
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c ieee754_ldexp.c
-SRCS+= ieee754_modf.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c ldexp_ieee754.c
+SRCS+= modf_ieee754.c
 
 SRCS+= ashiftrt.S ashlsi3.S ashrsi3.S lshrsi3.S movstr.S movstr_i4.S \
        movstrSI.S mulsi3.S sdivsi3.S udivsi3.S
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/sh5/gen/Makefile.inc
--- a/lib/libc/arch/sh5/gen/Makefile.inc        Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/sh5/gen/Makefile.inc        Mon May 12 15:15:11 2003 +0000
@@ -1,12 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.6 2003/01/21 20:23:32 kleink Exp $
+#      $NetBSD: Makefile.inc,v 1.7 2003/05/12 15:15:14 kleink Exp $
 
 SRCS+= __setjmp14.S __sigsetjmp14.S _setjmp.S \
        alloca.S \
        byte_swap_2.S byte_swap_4.S byte_swap_8.S \
        fabs.S flt_rounds.S \
 
-SRCS+= ieee754_frexp.c ieee754_infinity.c ieee754_isinf.c ieee754_isnan.c \
-       ieee754_ldexp.c ieee754_modf.c ieee754_nanf.c
+SRCS+= frexp_ieee754.c infinity_ieee754.c isinf_ieee754.c isnan_ieee754.c \
+       ldexp_ieee754.c modf_ieee754.c nanf_ieee754.c
 
 SRCS+= fpgetmask.S fpgetround.S fpgetsticky.S \
        fpsetmask.S fpsetround.S fpsetsticky.S
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/sparc/gen/Makefile.inc
--- a/lib/libc/arch/sparc/gen/Makefile.inc      Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/sparc/gen/Makefile.inc      Mon May 12 15:15:11 2003 +0000
@@ -1,12 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.9 2003/01/21 20:26:10 kleink Exp $
+#      $NetBSD: Makefile.inc,v 1.10 2003/05/12 15:15:14 kleink Exp $
 
 SRCS+= fabs.S modf.S
 SRCS+= flt_rounds.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c \
        fpsetround.c fpsetsticky.c
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c ieee754_ldexp.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c ldexp_ieee754.c
 
 SRCS+= setjmp.S __setjmp14.S
 SRCS+= _setjmp.S
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/sparc64/gen/Makefile.inc
--- a/lib/libc/arch/sparc64/gen/Makefile.inc    Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/sparc64/gen/Makefile.inc    Mon May 12 15:15:11 2003 +0000
@@ -1,12 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.6 2003/01/18 11:17:45 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.7 2003/05/12 15:15:15 kleink Exp $
 
 SRCS+= fabs.S modf.S
 SRCS+= flt_rounds.c fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c \
        fpsetround.c fpsetsticky.c
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c ieee754_ldexp.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c ldexp_ieee754.c
 
 SRCS+= bswap16.c bswap32.c bswap64.c
 SRCS+= setjmp.S __setjmp14.S
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/arch/x86_64/gen/Makefile.inc
--- a/lib/libc/arch/x86_64/gen/Makefile.inc     Mon May 12 14:59:51 2003 +0000
+++ b/lib/libc/arch/x86_64/gen/Makefile.inc     Mon May 12 15:15:11 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.3 2003/01/30 02:07:30 fvdl Exp $
+#      $NetBSD: Makefile.inc,v 1.4 2003/05/12 15:15:15 kleink Exp $
 
 # objects built from assembler sources (need lint stubs)
 SRCS+= alloca.S bswap64.S byte_swap_2.S byte_swap_4.S fabs.S modf.S \
@@ -15,8 +15,8 @@
 SRCS+= ldexp.c _lwp.c makecontext.c
 
 # Common ieee754 constants and functions
-SRCS+= ieee754_infinity.c ieee754_nanf.c
-SRCS+= ieee754_frexp.c ieee754_isinf.c ieee754_isnan.c
+SRCS+= infinity_ieee754.c nanf_ieee754.c
+SRCS+= frexp_ieee754.c isinf_ieee754.c isnan_ieee754.c
 
 LSRCS+=        Lint__setjmp.c Lint_alloca.c Lint_bswap16.c Lint_bswap32.c \
        Lint_bswap64.c Lint_fabs.c Lint_modf.c \
diff -r 8c3f6a43644a -r bb5126f54db3 lib/libc/gen/frexp_ieee754.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libc/gen/frexp_ieee754.c      Mon May 12 15:15:11 2003 +0000
@@ -0,0 +1,84 @@
+/*     $NetBSD: frexp_ieee754.c,v 1.1 2003/05/12 15:15:15 kleink Exp $ &/
+
+/*
+ * Copyright (c) 1992, 1993
+ *     The Regents of the University of California.  All rights reserved.
+ *
+ * This software was developed by the Computer Systems Engineering group
+ * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
+ * contributed to Berkeley.
+ *
+ * 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



Home | Main Index | Thread Index | Old Index