summaryrefslogtreecommitdiff
path: root/tests/kernel
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2019-01-30 12:16:28 +0000
committermartin <martin@NetBSD.org>2019-01-30 12:16:28 +0000
commit69aedcc1507bfc592efed33f9c28cff2b8406cc4 (patch)
treecf43495cb0ee0e4f32472adc31782916031e2bd9 /tests/kernel
parent096d7d4f549d5974d106fc38dd7e81f5a1b82401 (diff)
Clean up terminology: modern arm CPUs do properly implement IEEE 754
floating point exceptions - but some (actually all currently know ones) do not implement sending traps when these exceptions are raised. Pointed out by Peter Maydell.
Diffstat (limited to 'tests/kernel')
-rw-r--r--tests/kernel/h_segv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/kernel/h_segv.c b/tests/kernel/h_segv.c
index 4713b1a1c7c..835a0fb22d6 100644
--- a/tests/kernel/h_segv.c
+++ b/tests/kernel/h_segv.c
@@ -1,4 +1,4 @@
-/* $NetBSD: h_segv.c,v 1.12 2019/01/27 16:29:56 christos Exp $ */
+/* $NetBSD: h_segv.c,v 1.13 2019/01/30 12:16:28 martin Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: h_segv.c,v 1.12 2019/01/27 16:29:56 christos Exp $");
+__RCSID("$NetBSD: h_segv.c,v 1.13 2019/01/30 12:16:28 martin Exp $");
#define __TEST_FENV
@@ -113,12 +113,12 @@ check_fpe(void)
{
#if (__arm__ && !__SOFTFP__) || __aarch64__
/*
- * Some NEON fpus do not implement IEEE exception handling,
- * skip these tests if running on them and compiled for
+ * Some NEON fpus do not trap on IEEE 754 FP excpeptions.
+ * Skip these tests if running on them and compiled for
* hard float.
*/
if (0 == fpsetmask(fpsetmask(FP_X_INV))) {
- printf("FPU does not implement exception handling\n");
+ printf("FPU does not implement traps on FP exceptions\n");
exit(EXIT_FAILURE);
}
#endif