Module Name:    src
Committed By:   martin
Date:           Wed Jan 23 17:36:01 UTC 2019

Modified Files:
        src/tests/lib/libc/gen: t_fpsetmask.c t_siginfo.c
        src/tests/lib/libm: t_fenv.c

Log Message:
There are aarch64 Cortex cpus that do not trap on some floating point
exceptions - so apply the arm handling for aarch64 as well.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/tests/lib/libc/gen/t_fpsetmask.c
cvs rdiff -u -r1.32 -r1.33 src/tests/lib/libc/gen/t_siginfo.c
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libm/t_fenv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/gen/t_fpsetmask.c
diff -u src/tests/lib/libc/gen/t_fpsetmask.c:1.17 src/tests/lib/libc/gen/t_fpsetmask.c:1.18
--- src/tests/lib/libc/gen/t_fpsetmask.c:1.17	Sun Dec 16 02:18:01 2018
+++ src/tests/lib/libc/gen/t_fpsetmask.c	Wed Jan 23 17:36:01 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_fpsetmask.c,v 1.17 2018/12/16 02:18:01 sevan Exp $ */
+/*	$NetBSD: t_fpsetmask.c,v 1.18 2019/01/23 17:36:01 martin Exp $ */
 
 /*-
  * Copyright (c) 1995 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@ ATF_TC_BODY(no_test, tc)
 
 #include <ieeefp.h>
 
-#if __arm__ && !__SOFTFP__
+#if (__arm__ && !__SOFTFP__) || __aarch64__
 	/*
 	 * Some NEON fpus do not implement IEEE exception handling,
 	 * skip these tests if running on them and compiled for

Index: src/tests/lib/libc/gen/t_siginfo.c
diff -u src/tests/lib/libc/gen/t_siginfo.c:1.32 src/tests/lib/libc/gen/t_siginfo.c:1.33
--- src/tests/lib/libc/gen/t_siginfo.c:1.32	Wed Jan 17 00:16:43 2018
+++ src/tests/lib/libc/gen/t_siginfo.c	Wed Jan 23 17:36:01 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.32 2018/01/17 00:16:43 maya Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.33 2019/01/23 17:36:01 martin Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -309,7 +309,7 @@ ATF_TC_BODY(sigfpe_flt, tc)
 
 	if (isQEMU())
 		atf_tc_skip("Test does not run correctly under QEMU");
-#if defined(__arm__) && !__SOFTFP__
+#if (__arm__ && !__SOFTFP__) || __aarch64__
 	/*
 	 * Some NEON fpus do not implement IEEE exception handling,
 	 * skip these tests if running on them and compiled for

Index: src/tests/lib/libm/t_fenv.c
diff -u src/tests/lib/libm/t_fenv.c:1.3 src/tests/lib/libm/t_fenv.c:1.4
--- src/tests/lib/libm/t_fenv.c:1.3	Tue Dec 22 14:20:59 2015
+++ src/tests/lib/libm/t_fenv.c	Wed Jan 23 17:36:01 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: t_fenv.c,v 1.3 2015/12/22 14:20:59 christos Exp $ */
+/* $NetBSD: t_fenv.c,v 1.4 2019/01/23 17:36:01 martin Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_fenv.c,v 1.3 2015/12/22 14:20:59 christos Exp $");
+__RCSID("$NetBSD: t_fenv.c,v 1.4 2019/01/23 17:36:01 martin Exp $");
 
 #include <atf-c.h>
 
@@ -40,7 +40,7 @@ __RCSID("$NetBSD: t_fenv.c,v 1.3 2015/12
 #include <stdlib.h>
 
 
-#if __arm__ && !__SOFTFP__
+#if (__arm__ && !__SOFTFP__) || __aarch64__
 	/*
 	 * Some NEON fpus do not implement IEEE exception handling,
 	 * skip these tests if running on them and compiled for

Reply via email to