Remove dead code from x86-32 SSSE3 strncmp.
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 2 Dec 2010 03:18:31 +0000 (22:18 -0500)
committerUlrich Drepper <drepper@gmail.com>
Thu, 2 Dec 2010 03:18:31 +0000 (22:18 -0500)
ChangeLog
sysdeps/i386/i686/multiarch/strcmp-ssse3.S

index 86ba84a..e19cc5b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
+       unused codes.
+
 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
 
        * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
index a4de225..607b69b 100644 (file)
@@ -70,9 +70,7 @@ ENTRY (STRCMP)
        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 @@ ENTRY (STRCMP)
 
        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