Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
glibc/sysdeps/x86_64/multiarch/strstr-c.c
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
13 lines (9 sloc)
420 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "init-arch.h" | |
#define STRSTR __strstr_sse2 | |
#undef libc_hidden_builtin_def | |
#define libc_hidden_builtin_def(name) \ | |
__hidden_ver1 (__strstr_sse2, __GI_strstr, __strstr_sse2); | |
#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); |