Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/common/lib/libc/arch/aarch64/atomic Pull up following rev...
details: https://anonhg.NetBSD.org/src/rev/e5c78d1e0c00
branches: netbsd-9
changeset: 1002329:e5c78d1e0c00
user: martin <martin%NetBSD.org@localhost>
date: Thu Jul 08 11:22:01 2021 +0000
description:
Pull up following revision(s) (requested by skrll in ticket #1319):
common/lib/libc/arch/aarch64/atomic/atomic_nand_16.S: revision 1.4
One more s/pte/ptr/
diffstat:
common/lib/libc/arch/aarch64/atomic/atomic_nand_16.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e3233acee76a -r e5c78d1e0c00 common/lib/libc/arch/aarch64/atomic/atomic_nand_16.S
--- a/common/lib/libc/arch/aarch64/atomic/atomic_nand_16.S Tue Jul 06 04:23:55 2021 +0000
+++ b/common/lib/libc/arch/aarch64/atomic/atomic_nand_16.S Thu Jul 08 11:22:01 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_nand_16.S,v 1.1.28.1 2021/07/06 04:13:50 martin Exp $ */
+/* $NetBSD: atomic_nand_16.S,v 1.1.28.2 2021/07/08 11:22:01 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
mov x4, x0
1: ldxrh w0, [x4] /* load old value (*ptr) */
and w3, w0, w1 /* w3 = (*ptr & value) */
- mvn w3, w3 /* w3 = ~(*pte & value) */
+ mvn w3, w3 /* w3 = ~(*ptr & value) */
stxrh w2, w3, [x4] /* try to store */
cbnz w2, 1b /* succeed? no, try again */
dmb st
@@ -58,7 +58,7 @@
mov x4, x0 /* need r0 for return value */
1: ldxrh w0, [x4] /* load old value (*ptr) */
and w0, w0, w1 /* w0 = (*ptr & value) */
- mvn w0, w0 /* w0 = ~(*pte & value), return value */
+ mvn w0, w0 /* w0 = ~(*ptr & value), return value */
stxrh w2, w0, [x4] /* try to store */
cbnz w2, 1b /* succeed? no, try again? */
dmb st
Home |
Main Index |
Thread Index |
Old Index