Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/sys/crypto/chacha It's __ARM_NEON, not __ARM_NEON__, s...



details:   https://anonhg.NetBSD.org/src/rev/196aab722b5f
branches:  trunk
changeset: 936489:196aab722b5f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Jul 27 20:59:53 2020 +0000

description:
It's __ARM_NEON, not __ARM_NEON__, sometimes, apparently.

diffstat:

 tests/sys/crypto/chacha/t_chacha.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b81932f2cd0c -r 196aab722b5f tests/sys/crypto/chacha/t_chacha.c
--- a/tests/sys/crypto/chacha/t_chacha.c        Mon Jul 27 20:58:56 2020 +0000
+++ b/tests/sys/crypto/chacha/t_chacha.c        Mon Jul 27 20:59:53 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_chacha.c,v 1.2 2020/07/27 20:51:29 riastradh Exp $   */
+/*     $NetBSD: t_chacha.c,v 1.3 2020/07/27 20:59:53 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #include <crypto/chacha/arch/x86/chacha_sse2.h>
 #endif
 
-#ifdef __ARM_NEON__
+#ifdef __ARM_NEON
 #include <crypto/chacha/arch/arm/chacha_neon.h>
 #endif
 
@@ -81,7 +81,7 @@
                atf_tc_fail("%s self-test failed", (impl)->ci_name);          \
 }
 
-#ifdef __ARM_NEON__
+#ifdef __ARM_NEON
 CHACHA_SELFTEST(chacha_neon_selftest, &chacha_neon_impl,
     "ARM NEON ChaCha self-test")
 #endif
@@ -96,7 +96,7 @@
 
        ATF_TP_ADD_TC(tp, chacha_ref_selftest);
 
-#ifdef __ARM_NEON__
+#ifdef __ARM_NEON
        ATF_TP_ADD_TC(tp, chacha_neon_selftest);
 #endif
 



Home | Main Index | Thread Index | Old Index