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/mips/atomic Provide all __sync_* ops in...
details: https://anonhg.NetBSD.org/src/rev/d884e7abc2c1
branches: trunk
changeset: 326897:d884e7abc2c1
user: martin <martin%NetBSD.org@localhost>
date: Fri Feb 21 19:05:33 2014 +0000
description:
Provide all __sync_* ops in libc.
diffstat:
common/lib/libc/arch/mips/atomic/Makefile.inc | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 5d9ccc2218ca -r d884e7abc2c1 common/lib/libc/arch/mips/atomic/Makefile.inc
--- a/common/lib/libc/arch/mips/atomic/Makefile.inc Fri Feb 21 18:00:09 2014 +0000
+++ b/common/lib/libc/arch/mips/atomic/Makefile.inc Fri Feb 21 19:05:33 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.10 2009/12/14 00:38:59 matt Exp $
+# $NetBSD: Makefile.inc,v 1.11 2014/02/21 19:05:33 martin Exp $
.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
|| ${LIB} == "rump")
@@ -38,6 +38,17 @@
.endif
+.if defined(LIB) && ${LIB} == "c"
+SRCS+= atomic_xor_32_cas.c atomic_xor_16_cas.c atomic_xor_8_cas.c \
+ atomic_sub_32_cas.c atomic_sub_16_cas.c atomic_sub_8_cas.c \
+ atomic_nand_32_cas.c atomic_nand_16_cas.c atomic_nand_8_cas.c \
+ atomic_or_16_cas.c atomic_or_8_cas.c \
+ 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
+.endif
+
.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "rump")
SRCS+= membar_ops.S
Home |
Main Index |
Thread Index |
Old Index