about summary refs log tree commit diff
path: root/sysdeps/i386/memcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/memcmp.S')
-rw-r--r--sysdeps/i386/memcmp.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/i386/memcmp.S b/sysdeps/i386/memcmp.S
index f16b44a1b4..3917a329d6 100644
--- a/sysdeps/i386/memcmp.S
+++ b/sysdeps/i386/memcmp.S
@@ -1,6 +1,6 @@
 /* memcmp -- compare two memory blocks for differences in the first COUNT
 	     bytes.
-Copyright (C) 1995 Free Software Foundation, Inc.
+Copyright (C) 1995, 1996 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -34,9 +34,9 @@ ENTRY (memcmp)
 	movl %edi, %edx		/* Note that %edx is not used and can
 				   so be used to save %edi.  It's faster.  */
 
-	movl 12(%esp), %esi	/* Load address of block #1.  */
-	movl 16(%esp), %edi	/* Load address of block #2.  */
-	movl 20(%esp), %ecx	/* Load maximal length of compare area.  */
+	movl 8(%esp), %esi	/* Load address of block #1.  */
+	movl 12(%esp), %edi	/* Load address of block #2.  */
+	movl 16(%esp), %ecx	/* Load maximal length of compare area.  */
 
 	cld			/* Set direction of comparison.  */