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/arm/atomic Provide the missing __sync_*...
details: https://anonhg.NetBSD.org/src/rev/46121742b4ba
branches: trunk
changeset: 326900:46121742b4ba
user: martin <martin%NetBSD.org@localhost>
date: Fri Feb 21 21:54:38 2014 +0000
description:
Provide the missing __sync_* ops for earlier arm versions
diffstat:
common/lib/libc/arch/arm/atomic/Makefile.inc | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 563e21221570 -r 46121742b4ba common/lib/libc/arch/arm/atomic/Makefile.inc
--- a/common/lib/libc/arch/arm/atomic/Makefile.inc Fri Feb 21 20:45:12 2014 +0000
+++ b/common/lib/libc/arch/arm/atomic/Makefile.inc Fri Feb 21 21:54:38 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.15 2014/01/27 18:05:24 matt Exp $
+# $NetBSD: Makefile.inc,v 1.16 2014/02/21 21:54:38 martin Exp $
ARMV6= ${CPUFLAGS:M-march=armv6*} ${CPUFLAGS:M-mcpu=arm11*}
ARMV6+= ${CFLAGS:M-march=armv6*:} ${CFLAGS:M-mcpu=arm11*}
@@ -22,7 +22,14 @@
atomic_dec_32_cas.c atomic_dec_32_nv_cas.c \
atomic_inc_32_cas.c atomic_inc_32_nv_cas.c \
atomic_or_32_cas.c atomic_or_32_nv_cas.c \
- atomic_swap_32_cas.c membar_ops_nop.c
+ atomic_swap_32_cas.c membar_ops_nop.c \
+ 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
.else
.for op in add and cas nand or xor
.for sz in 8 16 32 64
Home |
Main Index |
Thread Index |
Old Index