about summary refs log tree commit diff
path: root/sysdeps/i386/i686/multiarch/strcmp-sse4.S
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-04-15 07:49:30 -0700
committerUlrich Drepper <drepper@redhat.com>2010-04-15 07:49:30 -0700
commit6cc2b8a6dfc93212ce8437a2fb734a9225a4ba1c (patch)
tree2ac2af610b98cf2792b2170184bf737c34c9854f /sysdeps/i386/i686/multiarch/strcmp-sse4.S
parent94a27fabebf851f4722654aa118a7d5f29a9c2ee (diff)
downloadglibc-6cc2b8a6dfc93212ce8437a2fb734a9225a4ba1c.tar.gz
glibc-6cc2b8a6dfc93212ce8437a2fb734a9225a4ba1c.tar.xz
glibc-6cc2b8a6dfc93212ce8437a2fb734a9225a4ba1c.zip
Fix bugs in x86-32 strcmp-sse4.S and strcmp-ssse3.S
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strcmp-sse4.S')
-rw-r--r--sysdeps/i386/i686/multiarch/strcmp-sse4.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/i686/multiarch/strcmp-sse4.S b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
index 81d6ec66f7..0de0a113c0 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-sse4.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-sse4.S
@@ -223,8 +223,8 @@ L(crosspage):
 	inc	%edx
 	cmp	$15, %edx
 	jle	L(crosspage)
-	add	$16, %edi
-	add	$16, %esi
+	add	%edx, %edi
+	add	%edx, %esi
 	jmp	L(check_offset)
 
 	.p2align 4