mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 16:50:07 +00:00
16 lines
443 B
C
16 lines
443 B
C
#include "init-arch.h"
|
|
|
|
#define STRSTR __strstr_sse2
|
|
#ifdef SHARED
|
|
# undef libc_hidden_builtin_def
|
|
# define libc_hidden_builtin_def(name) \
|
|
__hidden_ver1 (__strstr_sse2, __GI_strstr, __strstr_sse2);
|
|
#endif
|
|
|
|
#include "string/strstr.c"
|
|
|
|
extern char *__strstr_sse42 (const char *, const char *) attribute_hidden;
|
|
extern __typeof (__strstr_sse2) __strstr_sse2 attribute_hidden;
|
|
|
|
libc_ifunc (strstr, HAS_SSE4_2 ? __strstr_sse42 : __strstr_sse2);
|