mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-14 13:00:20 +00:00
10169938b1
This patch cleanup some multiarch code related to memmmove optimization. Initial IFUNC support added specialized wordcopy symbols which turned in local IFUNC calls used by memmove default implementation. The patch removes the internal IFUNC for wordcopy symbols and uses local branches in the memmmove optimization instead.
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
ifeq ($(subdir),string)
|
|
sysdep_routines += memcpy-power7 memcpy-a2 memcpy-power6 memcpy-cell \
|
|
memcpy-ppc32 memcmp-power7 memcmp-ppc32 memset-power7 \
|
|
memset-power6 memset-ppc32 bzero-power7 bzero-power6 \
|
|
bzero-ppc32 mempcpy-power7 mempcpy-ppc32 memchr-power7 \
|
|
memchr-ppc32 memrchr-power7 memrchr-ppc32 rawmemchr-power7 \
|
|
rawmemchr-ppc32 strlen-power7 strlen-ppc32 strnlen-power7 \
|
|
strnlen-ppc32 strncmp-power7 strncmp-ppc32 \
|
|
strcasecmp-power7 strcasecmp_l-power7 strncase-power7 \
|
|
strncase_l-power7 strchrnul-power7 strchrnul-ppc32 \
|
|
strchr-power7 strchr-ppc32 \
|
|
wordcopy-power7 wordcopy-ppc32 \
|
|
memmove-power7 memmove-ppc
|
|
|
|
CFLAGS-strncase-power7.c += -mcpu=power7 -funroll-loops
|
|
CFLAGS-strncase_l-power7.c += -mcpu=power7 -funroll-loops
|
|
endif
|
|
|
|
ifeq ($(subdir),wcsmbs)
|
|
sysdep_routines += wcschr-power7 wcschr-power6 wcschr-ppc32 \
|
|
wcsrchr-power7 wcsrchr-power6 wcsrchr-ppc32 \
|
|
wcscpy-power7 wcscpy-power6 wcscpy-ppc32
|
|
|
|
CFLAGS-wcschr-power7.c += -mcpu=power7
|
|
CFLAGS-wcschr-power6.c += -mcpu=power6
|
|
CFLAGS-wcsrchr-power7.c += -mcpu=power7
|
|
CFLAGS-wcsrchr-power6.c += -mcpu=power6
|
|
CFLAGS-wcscpy-power7.c += -mcpu=power7
|
|
CFLAGS-wcscpy-power6.c += -mcpu=power6
|
|
endif
|