[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r12181 - in /fsf/trunk/libc: ChangeLog sysdeps/i386/i686/multiarch/strcmp-ssse3.S



Author: eglibc
Date: Thu Dec  2 00:03:03 2010
New Revision: 12181

Log:
Import glibc-mainline for 2010-12-02

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-ssse3.S

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Thu Dec  2 00:03:03 2010
@@ -1,3 +1,8 @@
+2010-12-01  H.J. Lu  <hongjiu.lu@xxxxxxxxx>
+
+	* sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
+	unused codes.
+
 2010-11-30  Ulrich Drepper  <drepper@xxxxxxxxx>
 
 	* sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.

Modified: fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-ssse3.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/multiarch/strcmp-ssse3.S Thu Dec  2 00:03:03 2010
@@ -70,9 +70,7 @@
 	movl	CNT(%esp), %ebp
 	cmp	$16, %ebp
 	jb	L(less16bytes_sncmp)
-	jmp	L(more16bytes)
-#endif
-
+#else
 	movzbl	(%eax), %ecx
 	cmpb	%cl, (%edx)
 	jne	L(neq)
@@ -123,11 +121,6 @@
 
 	add	$8, %edx
 	add	$8, %eax
-#ifdef USE_AS_STRNCMP
-	cmp	$8, %ebp
-	lea	-8(%ebp), %ebp
-	je	L(eq)
-L(more16bytes):
 #endif
 	movl	%edx, %ecx
 	and	$0xfff, %ecx