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 C++ 2011 <atomic> support funct...



details:   https://anonhg.NetBSD.org/src/rev/42f73a2a4d19
branches:  trunk
changeset: 333005:42f73a2a4d19
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Oct 14 07:25:05 2014 +0000

description:
Provide C++ 2011 <atomic> support functions for hppa and arm.

diffstat:

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

diffs (41 lines):

diff -r 4e4e40c6edca -r 42f73a2a4d19 common/lib/libc/arch/arm/atomic/Makefile.inc
--- a/common/lib/libc/arch/arm/atomic/Makefile.inc      Tue Oct 14 06:59:58 2014 +0000
+++ b/common/lib/libc/arch/arm/atomic/Makefile.inc      Tue Oct 14 07:25:05 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.25 2014/10/13 12:49:59 martin Exp $
+#      $NetBSD: Makefile.inc,v 1.26 2014/10/14 07:25:05 martin Exp $
 
 .ifnmake obj
 .include "${NETBSDSRCDIR}/common/lib/libc/arch/arm/features.mk"
@@ -25,7 +25,10 @@
                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_load.c atomic_store.c \
-               atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c
+               atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c    \
+               atomic_c11_compare_exchange_cas_32.c    \
+               atomic_c11_compare_exchange_cas_16.c    \
+               atomic_c11_compare_exchange_cas_8.c
 .endif
 
 .else
diff -r 4e4e40c6edca -r 42f73a2a4d19 common/lib/libc/arch/hppa/atomic/Makefile.inc
--- a/common/lib/libc/arch/hppa/atomic/Makefile.inc     Tue Oct 14 06:59:58 2014 +0000
+++ b/common/lib/libc/arch/hppa/atomic/Makefile.inc     Tue Oct 14 07:25:05 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.12 2014/02/22 10:23:24 skrll Exp $
+#      $NetBSD: Makefile.inc,v 1.13 2014/10/14 07:25:05 martin Exp $
 
 .if defined(LIB)
 
@@ -32,6 +32,9 @@
        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
 .endif



Home | Main Index | Thread Index | Old Index