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 Fix add -> adds
details: https://anonhg.NetBSD.org/src/rev/f871bcb035af
branches: trunk
changeset: 789171:f871bcb035af
user: matt <matt%NetBSD.org@localhost>
date: Sat Aug 10 18:28:15 2013 +0000
description:
Fix add -> adds
diffstat:
common/lib/libc/arch/arm/atomic/atomic_inc_64.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6322d36df1c4 -r f871bcb035af common/lib/libc/arch/arm/atomic/atomic_inc_64.S
--- a/common/lib/libc/arch/arm/atomic/atomic_inc_64.S Sat Aug 10 18:14:21 2013 +0000
+++ b/common/lib/libc/arch/arm/atomic/atomic_inc_64.S Sat Aug 10 18:28:15 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_inc_64.S,v 1.3 2012/10/29 14:09:38 chs Exp $ */
+/* $NetBSD: atomic_inc_64.S,v 1.4 2013/08/10 18:28:15 matt Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -55,7 +55,7 @@
ENTRY_NP(_atomic_inc_64_nv)
mov r3, r0 /* need r0 for return value */
1: ldrexd r0, [r3] /* load old value */
- add LO, LO, #1 /* calculate new value (return value) */
+ adds LO, LO, #1 /* calculate new value (return value) */
adc HI, HI, #0 /* fold carry into high */
strexd ip, r0, [r3] /* try to store */
cmp ip, #0 /* succeed? */
Home |
Main Index |
Thread Index |
Old Index