Fix another typo in comments found by Ricardo Nabinger Sanchez
on the freebsd-arch mailing list.
This commit is contained in:
parent
6b95067c33
commit
afc37a8433
|
@ -6,7 +6,7 @@
|
|||
#include <machine/asm.h>
|
||||
|
||||
#if defined(LIBC_SCCS)
|
||||
RCSID("$NetBSD: strncmp.S,v 1.13 2003/07/26 19:24:35 salo Exp $")
|
||||
RCSID("$NetBSD: strncmp.S,v 1.14 2005/08/03 22:59:50 rpaulo Exp $")
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -105,7 +105,7 @@ L2: jz L4 /* strings are equal */
|
|||
je L1
|
||||
|
||||
_ALIGN_TEXT,0x90
|
||||
L3: movzbl (%eax),%eax /* unsigned comparision */
|
||||
L3: movzbl (%eax),%eax /* unsigned comparison */
|
||||
movzbl (%ecx),%ecx
|
||||
subl %ecx,%eax
|
||||
popl %ebx
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <machine/asm.h>
|
||||
|
||||
#if defined(LIBC_SCCS)
|
||||
RCSID("$NetBSD: strncmp.S,v 1.2 2003/07/26 19:24:40 salo Exp $")
|
||||
RCSID("$NetBSD: strncmp.S,v 1.3 2005/08/03 22:59:50 rpaulo Exp $")
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -99,7 +99,7 @@ L2: jz L4 /* strings are equal */
|
|||
cmpb %al,(%rsi)
|
||||
je L1
|
||||
|
||||
L3: movzbl (%rdi),%eax /* unsigned comparision */
|
||||
L3: movzbl (%rdi),%eax /* unsigned comparison */
|
||||
movzbl (%rsi),%ecx
|
||||
subl %ecx,%eax
|
||||
ret
|
||||
|
|
Loading…
Reference in New Issue