Fix two typos in x86-64 SSE4.2 strncasecmp implementation.
authorUlrich Drepper <drepper@redhat.com>
Thu, 19 Aug 2010 16:20:44 +0000 (09:20 -0700)
committerUlrich Drepper <drepper@redhat.com>
Thu, 19 Aug 2010 16:20:44 +0000 (09:20 -0700)
ChangeLog
sysdeps/x86_64/multiarch/strcmp.S

index d2d7b4a..f00b82f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-19  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
+       handling.
+
 2010-08-19  Andreas Schwab  <schwab@redhat.com>
 
        * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
index 45cd80b..54e5bbc 100644 (file)
@@ -824,7 +824,7 @@ LABEL(loop_ashr_5_use_sse4_2):
 
        movdqa  (%rdi, %rdx), %xmm0
        palignr $5, -16(%rdi, %rdx), %xmm0
-# if !defined USE_AS_STRCASECMP_L || !defined USE_AS_STRNCASECMP_L
+# if !defined USE_AS_STRCASECMP_L && !defined USE_AS_STRNCASECMP_L
        pcmpistri       $0x1a,(%rsi,%rdx), %xmm0
 # else
        movdqa  (%rsi,%rdx), %xmm1
@@ -1112,7 +1112,7 @@ LABEL(loop_ashr_8_use_sse4_2):
        pcmpistri $0x1a, %xmm1, %xmm0
 # endif
        jbe     LABEL(use_sse4_2_exit)
-# if defined USE_AS_STRNCMP || defined USE_AS_STRCASECMP_L
+# if defined USE_AS_STRNCMP || defined USE_AS_STRNCASECMP_L
        sub     $16, %r11
        jbe     LABEL(strcmp_exitz_sse4_2)
 # endif