]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove unnecessary code from x86-32 SSSE3 strncmp
authorUlrich Drepper <drepper@gmail.com>
Tue, 8 Nov 2011 12:50:20 +0000 (07:50 -0500)
committerUlrich Drepper <drepper@gmail.com>
Tue, 8 Nov 2011 12:50:20 +0000 (07:50 -0500)
ChangeLog
sysdeps/i386/i686/multiarch/strcmp-ssse3.S

index 3a71044b6d496f737992adb4e1dabc74d81cfb89..ba463690247600e1c74f802a73e7566bb1bed0f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-08  Ulrich Drepper  <drepper@gmail.com>
+
+       * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
+       instructions.
+
 2011-11-07  Andreas Schwab  <schwab@redhat.com>
 
        * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
index 607b69b6fff2c1e33664f29ba70a6794ebfac439..0131e8d80bb48619a2d57d4623cb9fc5b04b070e 100644 (file)
@@ -1,5 +1,5 @@
 /* strcmp with SSSE3
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2011 Free Software Foundation, Inc.
    Contributed by Intel Corporation.
    This file is part of the GNU C Library.
 
@@ -2201,8 +2201,6 @@ L(less16bytes_sncmp):
        movzbl  15(%eax), %ecx
        cmpb    %cl, 15(%edx)
        jne     L(neq)
-       test    %cl, %cl
-       je      L(eq)
 
        POP     (%ebp)
        xor     %eax, %eax