]> sourceware.org Git - glibc.git/blob - sysdeps/x86_64/multiarch/strcasestr-c.c
Fix strstr/strcasestr/fma/fmaf on x86_64.
[glibc.git] / sysdeps / x86_64 / multiarch / strcasestr-c.c
1 #include "init-arch.h"
2
3 #define STRCASESTR __strcasestr_sse2
4 #undef libc_hidden_builtin_def
5 #define libc_hidden_builtin_def(name) \
6 __hidden_ver1 (__strcasestr_sse2, __GI_strcasestr, __strcasestr_sse2);
7
8 #include "string/strcasestr.c"
9
10 extern char *__strcasestr_sse42 (const char *, const char *) attribute_hidden;
11 extern __typeof (__strcasestr_sse2) __strcasestr_sse2 attribute_hidden;
12
13 #if 1
14 libc_ifunc (__strcasestr,
15 HAS_SSE4_2 ? __strcasestr_sse42 : __strcasestr_sse2);
16 #else
17 libc_ifunc (__strcasestr,
18 0 ? __strcasestr_sse42 : __strcasestr_sse2);
19 #endif
This page took 0.043341 seconds and 6 git commands to generate.