2009-07-31 18:53:35 +00:00
|
|
|
ifeq ($(subdir),csu)
|
|
|
|
aux += init-arch
|
|
|
|
gen-as-const-headers += ifunc-defines.sym
|
|
|
|
endif
|
2009-08-04 19:13:43 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),string)
|
2010-01-12 19:22:03 +00:00
|
|
|
sysdep_routines += bzero-sse2 memset-sse2 memcpy-ssse3 mempcpy-ssse3 \
|
|
|
|
memmove-ssse3 memcpy-ssse3-rep mempcpy-ssse3-rep \
|
|
|
|
memmove-ssse3-rep bcopy-ssse3 bcopy-ssse3-rep \
|
|
|
|
memset-sse2-rep bzero-sse2-rep
|
2009-08-04 19:13:43 +00:00
|
|
|
ifeq (yes,$(config-cflags-sse4))
|
|
|
|
sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c
|
|
|
|
CFLAGS-strcspn-c.c += -msse4
|
|
|
|
CFLAGS-strpbrk-c.c += -msse4
|
|
|
|
CFLAGS-strspn-c.c += -msse4
|
|
|
|
CFLAGS-strstr.c += -msse4
|
|
|
|
CFLAGS-strcasestr.c += -msse4
|
|
|
|
endif
|
|
|
|
endif
|