about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-08-19 09:20:44 -0700
committerUlrich Drepper <drepper@redhat.com>2010-08-19 09:20:44 -0700
commit9da4bb316ffa558b1001e5441d2ba919ebb2cf13 (patch)
treee79d9dd410b61fee379d44a0f4d07c7932110dff /sysdeps/x86_64/multiarch
parentbdaa77bc20bbaf5a78da541b993cfead8b8c1b1c (diff)
downloadglibc-9da4bb316ffa558b1001e5441d2ba919ebb2cf13.tar.gz
glibc-9da4bb316ffa558b1001e5441d2ba919ebb2cf13.tar.xz
glibc-9da4bb316ffa558b1001e5441d2ba919ebb2cf13.zip
Fix two typos in x86-64 SSE4.2 strncasecmp implementation.
Diffstat (limited to 'sysdeps/x86_64/multiarch')
-rw-r--r--sysdeps/x86_64/multiarch/strcmp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/x86_64/multiarch/strcmp.S b/sysdeps/x86_64/multiarch/strcmp.S
index 45cd80b2f0..54e5bbc31d 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