Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/arch Provide <atomic> C++ 2011 support funct...



details:   https://anonhg.NetBSD.org/src/rev/154b34d7fb4c
branches:  trunk
changeset: 332993:154b34d7fb4c
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Oct 13 13:00:55 2014 +0000

description:
Provide <atomic> C++ 2011 support functions for mips and sh3.

diffstat:

 common/lib/libc/arch/mips/atomic/Makefile.inc |  7 +++++--
 common/lib/libc/arch/sh3/atomic/Makefile.inc  |  7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r bb6c9e1c2715 -r 154b34d7fb4c common/lib/libc/arch/mips/atomic/Makefile.inc
--- a/common/lib/libc/arch/mips/atomic/Makefile.inc     Mon Oct 13 12:49:59 2014 +0000
+++ b/common/lib/libc/arch/mips/atomic/Makefile.inc     Mon Oct 13 13:00:55 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.12 2014/02/24 16:15:43 martin Exp $
+#      $NetBSD: Makefile.inc,v 1.13 2014/10/13 13:00:55 martin Exp $
 
 .if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
        || ${LIB} == "rump")
@@ -46,7 +46,10 @@
        atomic_and_16_cas.c atomic_and_8_cas.c                          \
        atomic_add_16_cas.c atomic_add_8_cas.c                          \
        atomic_swap_16_cas.c atomic_swap_8_cas.c                        \
-       atomic_cas_32_cas.c atomic_cas_16_cas.c atomic_cas_8_cas.c
+       atomic_cas_32_cas.c atomic_cas_16_cas.c atomic_cas_8_cas.c      \
+       atomic_c11_compare_exchange_cas_32.c                            \
+       atomic_c11_compare_exchange_cas_16.c                            \
+       atomic_c11_compare_exchange_cas_8.c
 .endif
 
 .if defined(LIB) && (${LIB} == "kern" || ${LIB} == "rump")
diff -r bb6c9e1c2715 -r 154b34d7fb4c common/lib/libc/arch/sh3/atomic/Makefile.inc
--- a/common/lib/libc/arch/sh3/atomic/Makefile.inc      Mon Oct 13 12:49:59 2014 +0000
+++ b/common/lib/libc/arch/sh3/atomic/Makefile.inc      Mon Oct 13 13:00:55 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.6 2014/02/22 12:12:30 martin Exp $
+#      $NetBSD: Makefile.inc,v 1.7 2014/10/13 13:00:55 martin Exp $
 
 .if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
        || ${LIB} == "rump")
@@ -16,7 +16,10 @@
        atomic_or_16_cas.c atomic_or_8_cas.c    \
        atomic_xor_32_cas.c atomic_xor_16_cas.c atomic_xor_8_cas.c      \
        atomic_swap_16_cas.c atomic_swap_8_cas.c \
-       atomic_cas_32_cas.c atomic_cas_16_cas.c atomic_cas_8_cas.c
+       atomic_cas_32_cas.c atomic_cas_16_cas.c atomic_cas_8_cas.c      \
+       atomic_c11_compare_exchange_cas_32.c    \
+       atomic_c11_compare_exchange_cas_16.c    \
+       atomic_c11_compare_exchange_cas_8.c
 .endif
 
 .endif



Home | Main Index | Thread Index | Old Index