diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-08-19 09:20:44 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-08-19 09:20:44 -0700 |
commit | 9da4bb316ffa558b1001e5441d2ba919ebb2cf13 (patch) | |
tree | e79d9dd410b61fee379d44a0f4d07c7932110dff | |
parent | bdaa77bc20bbaf5a78da541b993cfead8b8c1b1c (diff) | |
download | glibc-9da4bb316ffa558b1001e5441d2ba919ebb2cf13.zip glibc-9da4bb316ffa558b1001e5441d2ba919ebb2cf13.tar.gz glibc-9da4bb316ffa558b1001e5441d2ba919ebb2cf13.tar.bz2 |
Fix two typos in x86-64 SSE4.2 strncasecmp implementation.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/strcmp.S | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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. diff --git a/sysdeps/x86_64/multiarch/strcmp.S b/sysdeps/x86_64/multiarch/strcmp.S index 45cd80b..54e5bbc 100644 --- a/sysdeps/x86_64/multiarch/strcmp.S +++ b/sysdeps/x86_64/multiarch/strcmp.S @@ -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 |