Wed Aug 16 09:18:24 2017 UTC ()
In the non-softfloat m68k part, add s_nexttoward.c and s_nexttowardf.c,
so that we get nexttoward() and nexttowardf() implemented here as well.


(he)
diff -r1.197 -r1.198 src/lib/libm/Makefile

cvs diff -r1.197 -r1.198 src/lib/libm/Makefile (expand / switch to unified diff)

--- src/lib/libm/Makefile 2017/08/15 10:40:28 1.197
+++ src/lib/libm/Makefile 2017/08/16 09:18:24 1.198
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.197 2017/08/15 10:40:28 mlelstv Exp $ 1# $NetBSD: Makefile,v 1.198 2017/08/16 09:18:24 he Exp $
2# 2#
3# @(#)Makefile 5.1beta 93/09/24 3# @(#)Makefile 5.1beta 93/09/24
4# 4#
5# ==================================================== 5# ====================================================
6# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 6# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
7# 7#
8# Developed at SunPro, a Sun Microsystems, Inc. business. 8# Developed at SunPro, a Sun Microsystems, Inc. business.
9# Permission to use, copy, modify, and distribute this 9# Permission to use, copy, modify, and distribute this
10# software is freely granted, provided that this notice 10# software is freely granted, provided that this notice
11# is preserved. 11# is preserved.
12# ==================================================== 12# ====================================================
13# 13#
14# 14#
@@ -143,27 +143,27 @@ COPTS+=-m68060 @@ -143,27 +143,27 @@ COPTS+=-m68060
143.PATH: ${.CURDIR}/arch/m68k 143.PATH: ${.CURDIR}/arch/m68k
144ARCH_SRCS += s_ceil.S s_copysign.S s_finite.S s_floor.S s_rint.S 144ARCH_SRCS += s_ceil.S s_copysign.S s_finite.S s_floor.S s_rint.S
145.elif defined(M68040) 145.elif defined(M68040)
146.PATH: ${.CURDIR}/arch/m68k 146.PATH: ${.CURDIR}/arch/m68k
147COPTS+=-m68040 147COPTS+=-m68040
148ARCH_SRCS = s_copysign.S s_finite.S 148ARCH_SRCS = s_copysign.S s_finite.S
149.else 149.else
150.if (${MKSOFTFLOAT} == "no") 150.if (${MKSOFTFLOAT} == "no")
151.PATH: ${.CURDIR}/arch/mc68881 ${.CURDIR}/arch/m68k 151.PATH: ${.CURDIR}/arch/mc68881 ${.CURDIR}/arch/m68k
152ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \ 152ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \
153 e_log10.S e_remainder.S e_scalb.S e_sinh.S e_sqrt.S s_atan.S \ 153 e_log10.S e_remainder.S e_scalb.S e_sinh.S e_sqrt.S s_atan.S \
154 s_ceil.S s_copysign.S s_cos.S s_expm1.S s_finite.S s_floor.S \ 154 s_ceil.S s_copysign.S s_cos.S s_expm1.S s_finite.S s_floor.S \
155 s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S 155 s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S
156COMMON_SRCS += fenv.c s_rintl.c 156COMMON_SRCS += fenv.c s_nexttoward.c s_nexttowardf.c s_rintl.c
157.endif 157.endif
158.endif 158.endif
159# end of m68k 159# end of m68k
160 160
161.elif (${LIBC_MACHINE_ARCH} == "vax") 161.elif (${LIBC_MACHINE_ARCH} == "vax")
162.PATH: ${.CURDIR}/arch/vax 162.PATH: ${.CURDIR}/arch/vax
163 163
164#NOIEEE_ARCH+= s_fmax.c s_fmaxf.c s_fmaxl.c 164#NOIEEE_ARCH+= s_fmax.c s_fmaxf.c s_fmaxl.c
165#NOIEEE_ARCH+= n_infnan.S n_argred.S n_sqrt.S 165#NOIEEE_ARCH+= n_infnan.S n_argred.S n_sqrt.S
166#ARCH_SRCS = n_atan2.S n_cabs.S n_cbrt.S n_support.S n_sincos.S n_tan.S 166#ARCH_SRCS = n_atan2.S n_cabs.S n_cbrt.S n_support.S n_sincos.S n_tan.S
167# XXX - ripped out due to lack of the insn polyd in the Mariah chip, 167# XXX - ripped out due to lack of the insn polyd in the Mariah chip,
168# and emulation code isn't written yet. 168# and emulation code isn't written yet.
169ARCH_SRCS = n_scalbn.S 169ARCH_SRCS = n_scalbn.S