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/aarch64/atomic typo in comment s/pte/ptr/
details: https://anonhg.NetBSD.org/src/rev/3e1f3e8f7b8a
branches: trunk
changeset: 984365:3e1f3e8f7b8a
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jul 05 08:50:31 2021 +0000
description:
typo in comment s/pte/ptr/
diffstat:
common/lib/libc/arch/aarch64/atomic/atomic_nand_32.S | 6 +++---
common/lib/libc/arch/aarch64/atomic/atomic_nand_64.S | 6 +++---
common/lib/libc/arch/aarch64/atomic/atomic_nand_8.S | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 24f129cf2996 -r 3e1f3e8f7b8a common/lib/libc/arch/aarch64/atomic/atomic_nand_32.S
--- a/common/lib/libc/arch/aarch64/atomic/atomic_nand_32.S Mon Jul 05 07:26:00 2021 +0000
+++ b/common/lib/libc/arch/aarch64/atomic/atomic_nand_32.S Mon Jul 05 08:50:31 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_nand_32.S,v 1.3 2021/07/04 06:55:47 skrll Exp $ */
+/* $NetBSD: atomic_nand_32.S,v 1.4 2021/07/05 08:50:31 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
mov x4, x0
1: ldxr w0, [x4] /* load old value (to be returned) */
and w3, w0, w1 /* w3 = (*ptr & value) */
- mvn w3, w3 /* x3 = ~(*pte & value) */
+ mvn w3, w3 /* x3 = ~(*ptr & value) */
stxr w2, w3, [x4] /* try to store */
cbnz w2, 2f /* succeed? no, try again */
ret /* return old value */
@@ -58,7 +58,7 @@
mov x4, x0 /* need r0 for return value */
1: ldxr w0, [x4] /* load old value (*ptr) */
and w0, w0, w1 /* x0 = (*ptr & value) */
- mvn w0, w0 /* x0 = ~(*pte & value), return value */
+ mvn w0, w0 /* x0 = ~(*ptr & value), return value */
stxr w2, w0, [x4] /* try to store */
cbnz w2, 2f /* succeed? no, try again? */
ret /* return new value */
diff -r 24f129cf2996 -r 3e1f3e8f7b8a common/lib/libc/arch/aarch64/atomic/atomic_nand_64.S
--- a/common/lib/libc/arch/aarch64/atomic/atomic_nand_64.S Mon Jul 05 07:26:00 2021 +0000
+++ b/common/lib/libc/arch/aarch64/atomic/atomic_nand_64.S Mon Jul 05 08:50:31 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_nand_64.S,v 1.3 2021/07/04 06:55:47 skrll Exp $ */
+/* $NetBSD: atomic_nand_64.S,v 1.4 2021/07/05 08:50:31 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
mov x4, x0
1: ldxr x0, [x4] /* load old value (*ptr) */
and x2, x0, x1 /* x2 = (*ptr & value) */
- mvn x2, x2 /* x2 = ~(*pte & value) */
+ mvn x2, x2 /* x2 = ~(*ptr & value) */
stxr w3, x2, [x4] /* try to store */
cbnz w3, 2f /* succeed? no, try again */
ret /* return old value */
@@ -58,7 +58,7 @@
mov x4, x0 /* need r0 for return value */
1: ldxr x0, [x4] /* load old value (*ptr) */
and x0, x0, x1 /* x0 = (*ptr & value) */
- mvn x0, x0 /* x0 = ~(*pte & value), return value */
+ mvn x0, x0 /* x0 = ~(*ptr & value), return value */
stxr w3, x0, [x4] /* try to store */
cbnz w3, 2f /* succeed? no, try again? */
ret /* return new value */
diff -r 24f129cf2996 -r 3e1f3e8f7b8a common/lib/libc/arch/aarch64/atomic/atomic_nand_8.S
--- a/common/lib/libc/arch/aarch64/atomic/atomic_nand_8.S Mon Jul 05 07:26:00 2021 +0000
+++ b/common/lib/libc/arch/aarch64/atomic/atomic_nand_8.S Mon Jul 05 08:50:31 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_nand_8.S,v 1.3 2021/07/04 06:55:47 skrll Exp $ */
+/* $NetBSD: atomic_nand_8.S,v 1.4 2021/07/05 08:50:31 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
mov x4, x0
1: ldxrb 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) */
stxrb w2, w3, [x4] /* try to store */
cbnz w2, 2f /* succeed? no, try again */
ret /* return old value */
@@ -57,7 +57,7 @@
mov x4, x0 /* need r0 for return value */
1: ldxrb 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 */
stxrb w2, w0, [x4] /* try to store */
cbnz w2, 2f /* succeed? no, try again? */
ret /* return new value */
Home |
Main Index |
Thread Index |
Old Index