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 whitespace
details: https://anonhg.NetBSD.org/src/rev/e9b72bc478f7
branches: trunk
changeset: 368642:e9b72bc478f7
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Jul 23 13:30:15 2022 +0000
description:
whitespace
diffstat:
common/lib/libc/arch/aarch64/atomic/__aarch64_lse.S | 22 ++++++++++----------
1 files changed, 11 insertions(+), 11 deletions(-)
diffs (44 lines):
diff -r 0e527896708b -r e9b72bc478f7 common/lib/libc/arch/aarch64/atomic/__aarch64_lse.S
--- a/common/lib/libc/arch/aarch64/atomic/__aarch64_lse.S Sat Jul 23 12:52:09 2022 +0000
+++ b/common/lib/libc/arch/aarch64/atomic/__aarch64_lse.S Sat Jul 23 13:30:15 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __aarch64_lse.S,v 1.5 2022/06/18 08:01:56 skrll Exp $ */
+/* $NetBSD: __aarch64_lse.S,v 1.6 2022/07/23 13:30:15 skrll Exp $ */
/*-
* Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -138,11 +138,11 @@
ret
99:
#endif
- mov x4, x0 /* need x0 for return value */
-1: LDXR R0, [x1] /* load old value */
- STXR w3, R4, [x1] /* store new value */
- cbnz w3, 2f /* succeed?? no, try again */
- ret /* return old value */
+ mov x4, x0 /* need x0 for return value */
+1: LDXR R0, [x1] /* load old value */
+ STXR w3, R4, [x1] /* store new value */
+ cbnz w3, 2f /* succeed?? no, try again */
+ ret /* return old value */
2: b 1b
END(SWP_FUNC)
#endif
@@ -196,12 +196,12 @@
ret
99:
#endif
- mov x4, x0 /* need x0 for return value */
-1: LDXR R0, [x1] /* load old value */
+ mov x4, x0 /* need x0 for return value */
+1: LDXR R0, [x1] /* load old value */
INSNOP R4, R0, R4
- STXR w3, R4, [x1] /* store new value */
- cbnz w3, 2f /* succeed?? no, try again */
- ret /* return old value */
+ STXR w3, R4, [x1] /* store new value */
+ cbnz w3, 2f /* succeed?? no, try again */
+ ret /* return old value */
2: b 1b
END(INSN_FUNC)
#endif
Home |
Main Index |
Thread Index |
Old Index