Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Tune COPTS for alpha
details: https://anonhg.NetBSD.org/src/rev/9f6e7a184154
branches: trunk
changeset: 329000:9f6e7a184154
user: martin <martin%NetBSD.org@localhost>
date: Mon Apr 28 08:46:35 2014 +0000
description:
Tune COPTS for alpha
diffstat:
lib/libm/Makefile | 3 ++-
tests/lib/libm/Makefile | 6 +++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r c50487ac6940 -r 9f6e7a184154 lib/libm/Makefile
--- a/lib/libm/Makefile Mon Apr 28 08:34:16 2014 +0000
+++ b/lib/libm/Makefile Mon Apr 28 08:46:35 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.156 2014/04/01 19:12:37 christos Exp $
+# $NetBSD: Makefile,v 1.157 2014/04/28 08:47:43 martin Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -53,6 +53,7 @@
.if (${MACHINE_ARCH} == "alpha")
.PATH: ${.CURDIR}/arch/alpha
ARCH_SRCS = s_copysign.S s_copysignf.S lrint.S
+COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
.elif (${MACHINE_CPU} == "arm")
.PATH: ${.CURDIR}/arch/arm
COMMON_SRCS+= fenv.c s_nexttowardf.c \
diff -r c50487ac6940 -r 9f6e7a184154 tests/lib/libm/Makefile
--- a/tests/lib/libm/Makefile Mon Apr 28 08:34:16 2014 +0000
+++ b/tests/lib/libm/Makefile Mon Apr 28 08:46:35 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2014/03/03 12:15:27 martin Exp $
+# $NetBSD: Makefile,v 1.22 2014/04/28 08:46:35 martin Exp $
.include <bsd.own.mk>
@@ -10,6 +10,10 @@
CPPFLAGS+= -DHAVE_FENV_H
.endif
+.if ${MACHINE} == "alpha"
+COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
+.endif
+
TESTS_C+= t_acos
TESTS_C+= t_asin
TESTS_C+= t_atan
Home |
Main Index |
Thread Index |
Old Index