Enable static 32-bit SSE4.2 strcasecmp/strncasecmp

This commit is contained in:
H.J. Lu 2013-07-02 08:03:29 -07:00
parent 77f01ab5d1
commit 1c81621c5b
3 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
SSE4.2 strcasecmp for libc.a.
* sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2013-07-02 Joseph Myers <joseph@codesourcery.com>
[BZ #13304]

View File

@ -54,12 +54,9 @@ ENTRY(__strcasecmp)
testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features
jz 2f
leal __strcasecmp_ssse3, %eax
#if 0
// XXX Temporarily
testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
jz 2f
leal __strcasecmp_sse4_2, %eax
#endif
2: ret
END(__strcasecmp)
#endif

View File

@ -54,12 +54,9 @@ ENTRY(__strncasecmp)
testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features
jz 2f
leal __strncasecmp_ssse3, %eax
#if 0
// XXX Temporarily
testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
jz 2f
leal __strncasecmp_sse4_2, %eax
#endif
2: ret
END(__strncasecmp)
#endif