Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc Add some atomic_cas_64_ni aliases
details: https://anonhg.NetBSD.org/src/rev/125980399125
branches: trunk
changeset: 449005:125980399125
user: martin <martin%NetBSD.org@localhost>
date: Mon Feb 18 11:22:56 2019 +0000
description:
Add some atomic_cas_64_ni aliases
diffstat:
common/lib/libc/arch/arm/atomic/atomic_cas_64.S | 4 +++-
common/lib/libc/atomic/atomic_init_testset.c | 7 ++++---
2 files changed, 7 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r 08726f6fbd3e -r 125980399125 common/lib/libc/arch/arm/atomic/atomic_cas_64.S
--- a/common/lib/libc/arch/arm/atomic/atomic_cas_64.S Mon Feb 18 07:27:15 2019 +0000
+++ b/common/lib/libc/arch/arm/atomic/atomic_cas_64.S Mon Feb 18 11:22:56 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_cas_64.S,v 1.10 2014/03/05 17:20:48 matt Exp $ */
+/* $NetBSD: atomic_cas_64.S,v 1.11 2019/02/18 11:22:56 martin Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -70,6 +70,8 @@
END(_atomic_cas_64)
ATOMIC_OP_ALIAS(atomic_cas_64,_atomic_cas_64)
+ATOMIC_OP_ALIAS(atomic_cas_64_ni,_atomic_cas_64)
+STRONG_ALIAS(_atomic_cas_64_ni,_atomic_cas_64)
CRT_ALIAS(__sync_val_compare_and_swap_8,_atomic_cas_64)
#endif /* _ARM_ARCH_6 */
diff -r 08726f6fbd3e -r 125980399125 common/lib/libc/atomic/atomic_init_testset.c
--- a/common/lib/libc/atomic/atomic_init_testset.c Mon Feb 18 07:27:15 2019 +0000
+++ b/common/lib/libc/atomic/atomic_init_testset.c Mon Feb 18 11:22:56 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_init_testset.c,v 1.15 2014/02/27 09:39:00 matt Exp $ */
+/* $NetBSD: atomic_init_testset.c,v 1.16 2019/02/18 11:22:56 martin Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: atomic_init_testset.c,v 1.15 2014/02/27 09:39:00 matt Exp $");
+__RCSID("$NetBSD: atomic_init_testset.c,v 1.16 2019/02/18 11:22:56 martin Exp $");
#include "atomic_op_namespace.h"
@@ -354,7 +354,8 @@
//atomic_op_alias(atomic_cas_8,_atomic_cas_8)
//atomic_op_alias(atomic_cas_8_ni,_atomic_cas_8)
#ifdef __HAVE_ATOMIC_CAS_64_UP
-//atomic_op_alias(atomic_cas_64_ni,_atomic_cas_64)
+atomic_op_alias(atomic_cas_64_ni,_atomic_cas_64)
+__strong_alias(_atomic_cas_64_ni,_atomic_cas_64)
crt_alias(__sync_val_compare_and_swap_8,_atomic_cas_64)
#endif
crt_alias(__sync_val_compare_and_swap_4,_atomic_cas_32)
Home |
Main Index |
Thread Index |
Old Index