about summary refs log tree commit diff
path: root/sysdeps/i386/i686/multiarch/Makefile
blob: 2a14fe89834560a5e20fa24f780958ba39106af8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ifeq ($(subdir),string)
sysdep_routines += strcmp-ssse3 \
		   strcmp-sse4 strncmp-c strncmp-ssse3 strncmp-sse4 \
		   varshift \
		   strlen-sse2 strlen-sse2-bsf \
		   strcat-ssse3 \
		   strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c \
		   strchr-sse2 strrchr-sse2 strchr-sse2-bsf strrchr-sse2-bsf \
		   strnlen-sse2 strnlen-c \
		   strcasecmp_l-c strcasecmp-c strcasecmp_l-ssse3 \
		   strncase_l-c strncase-c strncase_l-ssse3 \
		   strcasecmp_l-sse4 strncase_l-sse4
ifeq (yes,$(config-cflags-sse4))
sysdep_routines += strcspn-c strpbrk-c strspn-c
CFLAGS-varshift.c += -msse4
CFLAGS-strcspn-c.c += -msse4
CFLAGS-strpbrk-c.c += -msse4
CFLAGS-strspn-c.c += -msse4
endif
endif

ifeq ($(subdir),wcsmbs)
sysdep_routines += wcscmp-sse2 wcscmp-c wcslen-sse2 wcslen-c \
		   wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c wcschr-sse2 \
		   wcschr-c wcsrchr-sse2 wcsrchr-c wcscpy-ssse3 wcscpy-c
endif