diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/multiarch/strcmp.S | 2 | ||||
-rw-r--r-- | sysdeps/x86_64/strcmp.S | 2 |
2 files changed, 3 insertions, 1 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) diff --git a/sysdeps/x86_64/strcmp.S b/sysdeps/x86_64/strcmp.S index aeb8895bed..2c77265e5b 100644 --- a/sysdeps/x86_64/strcmp.S +++ b/sysdeps/x86_64/strcmp.S @@ -913,7 +913,7 @@ LABEL(gobble_ashr_5): sub $0xffff, %edx jnz LABEL(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) # endif |