about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strcmp.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-09-20 14:02:23 -0700
committerUlrich Drepper <drepper@redhat.com>2010-09-20 14:02:23 -0700
commit8ffcee4a049b244e369e371536486a9b2eabb25f (patch)
tree1462a7b2851c396708152a15103ec88b6e688841 /sysdeps/x86_64/multiarch/strcmp.S
parente24f0a8b9e389b06a3291cba70c1605fbbb274fe (diff)
downloadglibc-8ffcee4a049b244e369e371536486a9b2eabb25f.tar.gz
glibc-8ffcee4a049b244e369e371536486a9b2eabb25f.tar.xz
glibc-8ffcee4a049b244e369e371536486a9b2eabb25f.zip
Fix limit detection in x86-64 SSE2 strncasecmp.
Diffstat (limited to 'sysdeps/x86_64/multiarch/strcmp.S')
-rw-r--r--sysdeps/x86_64/multiarch/strcmp.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/strcmp.S b/sysdeps/x86_64/multiarch/strcmp.S
index 54e5bbc31d..19776435f2 100644
--- a/sysdeps/x86_64/multiarch/strcmp.S
+++ b/sysdeps/x86_64/multiarch/strcmp.S
@@ -125,12 +125,14 @@ ENTRY(__strncasecmp)
 	jne	1f
 	call	__init_cpu_features
 1:
+#if 0
 	leaq	__strncasecmp_sse42(%rip), %rax
 	testl	$bit_SSE4_2, __cpu_features+CPUID_OFFSET+index_SSE4_2(%rip)
 	jnz	2f
 	leaq	__strncasecmp_ssse3(%rip), %rax
 	testl	$bit_SSSE3, __cpu_features+CPUID_OFFSET+index_SSSE3(%rip)
 	jnz	2f
+#endif
 	leaq	__strncasecmp_sse2(%rip), %rax
 2:	ret
 END(__strncasecmp)