Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/m68k/gen Cleanup. hardfloat stuff is now in i...
details: https://anonhg.NetBSD.org/src/rev/1e678813c781
branches: trunk
changeset: 788731:1e678813c781
user: matt <matt%NetBSD.org@localhost>
date: Thu Jul 18 21:34:33 2013 +0000
description:
Cleanup. hardfloat stuff is now in its own directory
diffstat:
lib/libc/arch/m68k/gen/Makefile.inc | 27 ++++++---------------------
1 files changed, 6 insertions(+), 21 deletions(-)
diffs (56 lines):
diff -r e5eeb406b426 -r 1e678813c781 lib/libc/arch/m68k/gen/Makefile.inc
--- a/lib/libc/arch/m68k/gen/Makefile.inc Thu Jul 18 21:31:22 2013 +0000
+++ b/lib/libc/arch/m68k/gen/Makefile.inc Thu Jul 18 21:34:33 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.31 2011/11/22 15:25:28 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.32 2013/07/18 21:34:33 matt Exp $
SRCS+= alloca.S fabs.S
@@ -14,7 +14,7 @@
# 68000-based machines use a double-extended `long double' type
# for which the generic ieee754 versions can be used
-.if ${MACHINE_ARCH} == "m68000"
+.if ${MACHINE_ARCH} != "m68k"
SRCS+= infinityl_dbl_ieee754.c
.else
SRCS+= infinityl.c
@@ -37,15 +37,10 @@
.if ${MKSOFTFLOAT} != "yes"
SRCS+= fpfake.c
.endif
-.else
-SRCS+= modf.S
-SRCS+= flt_rounds.S fpgetmask.S fpgetround.S fpgetsticky.S fpsetmask.S \
- fpsetround.S fpsetsticky.S
-SRCS+= adddf3.S addsf3.S cmpdf2.S cmpsf2.S divdf3.S \
- divsf3.S divsi3.S extendsfdf2.S fixdfsi.S fixunsdfsi.S \
- floatsidf.S modsi3.S muldf3.S mulsf3.S mulsi3.S \
- subdf3.S subsf3.S truncdfsf2.S udivsi3.S \
- umodsi3.S umulsi3.S
+.endif
+
+.if ${MACHINE_ARCH} == "m68k"
+SRCS+= divsi3.S modsi3.S mulsi3.S udivsi3.S umodsi3.S umulsi3.S
.endif
SRCS+= setjmp.S longjmp.c
@@ -54,17 +49,7 @@
SRCS+= makecontext.c resumecontext.S swapcontext.S
-.ifdef M68040
SRCS+= ldexp_ieee754.c # generic ieee754 version
-.elifdef MKSOFTFLOAT
-SRCS+= ldexp_ieee754.c # generic ieee754 version
-.elifdef M68060
-SRCS+= ldexp_ieee754.c # generic ieee754 version
-.elif ${MACHINE_ARCH} == "m68000"
-SRCS+= ldexp_ieee754.c # generic ieee754 version
-.else
-SRCS+= ldexp_881.c
-.endif
LSRCS.m68k.gen= Lint_bswap16.c Lint_bswap32.c Lint_bswap64.c \
Lint_resumecontext.c Lint_swapcontext.c
Home |
Main Index |
Thread Index |
Old Index