summaryrefslogtreecommitdiff
path: root/lib/libc/arch/i386/string
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-23 20:55:32 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-23 20:55:32 +0000
commite9d332cb6af71b2d65cdb6004debdb399d774993 (patch)
tree51948dc5b09e612265eb4a6eac4f727f428f9b9f /lib/libc/arch/i386/string
parent48f72858c6c937f2a793a9209ea0bc1c2ede6697 (diff)
tabify
Diffstat (limited to 'lib/libc/arch/i386/string')
-rw-r--r--lib/libc/arch/i386/string/memcmp.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/i386/string/memcmp.S b/lib/libc/arch/i386/string/memcmp.S
index 1c7938044f4..fdd49c948ce 100644
--- a/lib/libc/arch/i386/string/memcmp.S
+++ b/lib/libc/arch/i386/string/memcmp.S
@@ -7,7 +7,7 @@
#if defined(LIBC_SCCS)
.text
- .asciz "$OpenBSD: memcmp.S,v 1.2 1996/08/19 08:13:03 tholo Exp $"
+ .asciz "$OpenBSD: memcmp.S,v 1.3 1997/07/23 20:55:21 kstailey Exp $"
#endif
ENTRY(memcmp)
@@ -40,8 +40,8 @@ L5: movl $4,%ecx /* We know that one of the next */
repe
cmpsb
L6: movzbl -1(%edi),%eax /* Perform unsigned comparison */
- movzbl -1(%esi),%edx
- subl %edx,%eax
+ movzbl -1(%esi),%edx
+ subl %edx,%eax
popl %esi
popl %edi
ret