summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2022-12-03 11:34:38 +0000
committerskrll <skrll@NetBSD.org>2022-12-03 11:34:38 +0000
commit044e2876dfa212aa2e90cafe831e6f3a7b25e415 (patch)
tree4aea0f9724fc8aba1c352b30c2d32fb45a5de30a /common
parent86a45abba37bfb65913a24c79f0cd49eeff4bdb6 (diff)
Fix some comments
Diffstat (limited to 'common')
-rw-r--r--common/lib/libc/arch/arm/string/strlen_arm.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/lib/libc/arch/arm/string/strlen_arm.S b/common/lib/libc/arch/arm/string/strlen_arm.S
index aa4b93d6647..d31bb5511d4 100644
--- a/common/lib/libc/arch/arm/string/strlen_arm.S
+++ b/common/lib/libc/arch/arm/string/strlen_arm.S
@@ -29,7 +29,7 @@
#include <machine/asm.h>
-RCSID("$NetBSD: strlen_arm.S,v 1.9 2014/05/06 16:02:11 joerg Exp $")
+RCSID("$NetBSD: strlen_arm.S,v 1.10 2022/12/03 11:34:38 skrll Exp $")
#if defined(__thumb__) && !defined(_ARM_ARCH_T2)
#error Only Thumb2 or ARM supported
@@ -121,9 +121,9 @@ ENTRY(FUNCNAME)
* (other tests for NULs in a word take more instructions/cycles).
*/
tst r3, #BYTE0 /* is this byte 0? */
- tstne r3, #BYTE1 /* no, is this byte 0? */
- tstne r3, #BYTE2 /* no, is this byte 0? */
- tstne r3, #BYTE3 /* no, is this byte 0? */
+ tstne r3, #BYTE1 /* no, is this byte 1? */
+ tstne r3, #BYTE2 /* no, is this byte 2? */
+ tstne r3, #BYTE3 /* no, is this byte 3? */
bne .Lmain_loop /* no, then get next word */
#endif
#if defined(_ARM_ARCH_6)