about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strcasestr-c.c
blob: 551492d8f5ce8c0396c65a42f02f9367cb5270b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "init-arch.h"

#define STRCASESTR __strcasestr_sse2

#include "string/strcasestr.c"

extern char *__strcasestr_sse42 (const char *, const char *) attribute_hidden;
extern __typeof (__strcasestr_sse2) __strcasestr_sse2 attribute_hidden;

#if 1
libc_ifunc (__strcasestr,
	    HAS_SSE4_2 ? __strcasestr_sse42 : __strcasestr_sse2);
#else
libc_ifunc (__strcasestr,
	    0 ? __strcasestr_sse42 : __strcasestr_sse2);
#endif