powerpc64: Add POWER8 strnlen
[glibc.git] / sysdeps / powerpc / powerpc64 / multiarch / Makefile
blob38233a72c0918f929094b194830080a1fa610875
1 ifeq ($(subdir),string)
2 sysdep_routines += memcpy-power7 memcpy-a2 memcpy-power6 memcpy-cell \
3 memcpy-power4 memcpy-ppc64 memcmp-power7 memcmp-power4 \
4 memcmp-ppc64 memset-power7 memset-power6 memset-power4 \
5 memset-ppc64 memset-power8 \
6 mempcpy-power7 mempcpy-ppc64 memchr-power7 memchr-ppc64 \
7 memrchr-power7 memrchr-ppc64 rawmemchr-power7 \
8 rawmemchr-ppc64 strlen-power7 strlen-ppc64 \
9 strnlen-power8 strnlen-power7 strnlen-ppc64 \
10 strcasecmp-power7 strcasecmp_l-power7 \
11 strncase-power7 strncase_l-power7 \
12 strncmp-power9 strncmp-power8 strncmp-power7 \
13 strncmp-power4 strncmp-ppc64 \
14 strchr-power8 strchr-power7 strchr-ppc64 \
15 strchrnul-power8 strchrnul-power7 strchrnul-ppc64 \
16 strcpy-power8 strcpy-power7 strcpy-ppc64 stpcpy-power8 \
17 stpcpy-power7 stpcpy-ppc64 \
18 strrchr-power7 strrchr-ppc64 strncat-power7 strncat-ppc64 \
19 strncpy-power7 strncpy-ppc64 \
20 stpncpy-power8 stpncpy-power7 stpncpy-ppc64 \
21 strcmp-power9 strcmp-power8 strcmp-power7 strcmp-ppc64 \
22 strcat-power8 strcat-power7 strcat-ppc64 \
23 memmove-power7 memmove-ppc64 wordcopy-ppc64 bcopy-ppc64 \
24 strncpy-power8 strstr-power7 strstr-ppc64 \
25 strspn-power8 strspn-ppc64 strcspn-power8 strcspn-ppc64 \
26 strlen-power8 strcasestr-power8 strcasestr-ppc64 \
27 strcasecmp-ppc64 strcasecmp-power8 strncase-ppc64 \
28 strncase-power8
30 CFLAGS-strncase-power7.c += -mcpu=power7 -funroll-loops
31 CFLAGS-strncase_l-power7.c += -mcpu=power7 -funroll-loops
32 endif
34 ifeq ($(subdir),wcsmbs)
35 sysdep_routines += wcschr-power7 wcschr-power6 wcschr-ppc64 \
36 wcsrchr-power7 wcsrchr-power6 wcsrchr-ppc64 \
37 wcscpy-power7 wcscpy-power6 wcscpy-ppc64 \
39 CFLAGS-wcschr-power7.c += -mcpu=power7
40 CFLAGS-wcschr-power6.c += -mcpu=power6
41 CFLAGS-wcsrchr-power7.c += -mcpu=power7
42 CFLAGS-wcsrchr-power6.c += -mcpu=power6
43 CFLAGS-wcscpy-power7.c += -mcpu=power7
44 CFLAGS-wcscpy-power6.c += -mcpu=power6
45 endif