about summary refs log tree commit diff
path: root/sysdeps/i386/i686/multiarch/strstr-c.c
blob: efa9f78f81ff6f973f89f2fb1f5d6b9f5ac7b2ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "init-arch.h"

#define STRSTR __strstr_ia32
#undef libc_hidden_builtin_def
#define libc_hidden_builtin_def(name) \
  __hidden_ver1 (__strstr_ia32, __GI_strstr, __strstr_ia32);

#include "string/strstr.c"

extern char *__strstr_sse42 (const char *, const char *) attribute_hidden;
extern __typeof (__strstr_ia32) __strstr_ia32 attribute_hidden;

libc_ifunc (strstr, HAS_SSE4_2 ? __strstr_sse42 : __strstr_ia32);