mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-13 12:40:08 +00:00
benchtests: Sort benches in Makefile
Put one bench per line and sort them.
This commit is contained in:
parent
69e6992d79
commit
03c9c4fce4
@ -86,16 +86,30 @@ bench-math := \
|
|||||||
y1 \
|
y1 \
|
||||||
|
|
||||||
ifneq (,$(filter yes,$(float96-fcts)))
|
ifneq (,$(filter yes,$(float96-fcts)))
|
||||||
bench-math += cbrtl
|
bench-math += \
|
||||||
|
cbrtl \
|
||||||
|
# bench-math
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter yes,$(float128-fcts) $(float128-alias-fcts)))
|
ifneq (,$(filter yes,$(float128-fcts) $(float128-alias-fcts)))
|
||||||
bench-math += expf128 powf128 sinf128 ilogbf128
|
bench-math += \
|
||||||
|
expf128 \
|
||||||
|
ilogbf128 \
|
||||||
|
powf128 \
|
||||||
|
sinf128 \
|
||||||
|
# bench-math
|
||||||
endif
|
endif
|
||||||
|
|
||||||
bench-pthread := pthread_once thread_create pthread-locks
|
bench-pthread := \
|
||||||
|
pthread-locks \
|
||||||
|
pthread_once \
|
||||||
|
thread_create \
|
||||||
|
# bench-pthread
|
||||||
|
|
||||||
bench-string := ffs ffsll
|
bench-string := \
|
||||||
|
ffs \
|
||||||
|
ffsll \
|
||||||
|
# bench-string
|
||||||
|
|
||||||
ifeq (${BENCHSET},)
|
ifeq (${BENCHSET},)
|
||||||
bench := $(bench-math) $(bench-pthread) $(bench-string)
|
bench := $(bench-math) $(bench-pthread) $(bench-string)
|
||||||
@ -104,19 +118,75 @@ bench := $(foreach B,$(filter bench-%,${BENCHSET}), ${${B}})
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# String function benchmarks.
|
# String function benchmarks.
|
||||||
string-benchset := memccpy memchr memcmp memcmpeq memcpy memmem memmove \
|
string-benchset := \
|
||||||
mempcpy memset rawmemchr stpcpy stpncpy strcasecmp strcasestr \
|
memccpy \
|
||||||
strcat strchr strchrnul strcmp strcpy strcspn strlen \
|
memchr \
|
||||||
strncasecmp strncat strncmp strncpy strnlen strpbrk strrchr \
|
memcmp \
|
||||||
strspn strstr strcpy_chk stpcpy_chk memrchr strsep strtok \
|
memcmpeq \
|
||||||
strcoll memcpy-large memcpy-random memmove-large memset-large \
|
memcpy \
|
||||||
memcpy-walk memset-walk memmove-walk
|
memcpy-large \
|
||||||
|
memcpy-random \
|
||||||
|
memcpy-walk \
|
||||||
|
memmem \
|
||||||
|
memmove \
|
||||||
|
memmove-large \
|
||||||
|
memmove-walk \
|
||||||
|
mempcpy \
|
||||||
|
memrchr \
|
||||||
|
memset \
|
||||||
|
memset-large \
|
||||||
|
memset-walk \
|
||||||
|
rawmemchr \
|
||||||
|
stpcpy \
|
||||||
|
stpcpy_chk \
|
||||||
|
stpncpy \
|
||||||
|
strcasecmp \
|
||||||
|
strcasestr \
|
||||||
|
strcat \
|
||||||
|
strchr \
|
||||||
|
strchrnul \
|
||||||
|
strcmp \
|
||||||
|
strcoll \
|
||||||
|
strcpy \
|
||||||
|
strcpy_chk \
|
||||||
|
strcspn \
|
||||||
|
strlen \
|
||||||
|
strncasecmp \
|
||||||
|
strncat \
|
||||||
|
strncmp \
|
||||||
|
strncpy \
|
||||||
|
strnlen \
|
||||||
|
strpbrk \
|
||||||
|
strrchr \
|
||||||
|
strsep \
|
||||||
|
strspn \
|
||||||
|
strstr \
|
||||||
|
strtok \
|
||||||
|
# string-benchset
|
||||||
|
|
||||||
# Build and run locale-dependent benchmarks only if we're building natively.
|
# Build and run locale-dependent benchmarks only if we're building natively.
|
||||||
ifeq (no,$(cross-compiling))
|
ifeq (no,$(cross-compiling))
|
||||||
wcsmbs-benchset := wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat \
|
wcsmbs-benchset := \
|
||||||
wcscmp wcsncmp wcschr wcschrnul wcsrchr wcsspn wcspbrk wcscspn \
|
wcpcpy \
|
||||||
wmemchr wmemset wmemcmp
|
wcpncpy \
|
||||||
|
wcscat \
|
||||||
|
wcschr \
|
||||||
|
wcschrnul \
|
||||||
|
wcscmp \
|
||||||
|
wcscpy \
|
||||||
|
wcscspn \
|
||||||
|
wcslen \
|
||||||
|
wcsncat \
|
||||||
|
wcsncmp \
|
||||||
|
wcsncpy \
|
||||||
|
wcsnlen \
|
||||||
|
wcspbrk \
|
||||||
|
wcsrchr \
|
||||||
|
wcsspn \
|
||||||
|
wmemchr \
|
||||||
|
wmemcmp \
|
||||||
|
wmemset \
|
||||||
|
# wcsmbs-benchset
|
||||||
else
|
else
|
||||||
wcsmbs-benchset :=
|
wcsmbs-benchset :=
|
||||||
endif
|
endif
|
||||||
@ -125,11 +195,32 @@ string-benchset-all := $(string-benchset) ${wcsmbs-benchset}
|
|||||||
|
|
||||||
ifeq (no,$(cross-compiling))
|
ifeq (no,$(cross-compiling))
|
||||||
# We have to generate locales
|
# We have to generate locales
|
||||||
LOCALES := en_US.UTF-8 tr_TR.UTF-8 cs_CZ.UTF-8 fa_IR.UTF-8 fr_FR.UTF-8 \
|
LOCALES := \
|
||||||
ja_JP.UTF-8 si_LK.UTF-8 en_GB.UTF-8 vi_VN.UTF-8 ar_SA.UTF-8 \
|
ar_SA.UTF-8 \
|
||||||
da_DK.UTF-8 pl_PL.UTF-8 pt_PT.UTF-8 el_GR.UTF-8 ru_RU.UTF-8 \
|
cs_CZ.UTF-8 \
|
||||||
he_IL.UTF-8 is_IS.UTF-8 es_ES.UTF-8 hi_IN.UTF-8 sv_SE.UTF-8 \
|
da_DK.UTF-8 \
|
||||||
hu_HU.UTF-8 it_IT.UTF-8 sr_RS.UTF-8 zh_CN.UTF-8
|
el_GR.UTF-8 \
|
||||||
|
en_GB.UTF-8 \
|
||||||
|
en_US.UTF-8 \
|
||||||
|
es_ES.UTF-8 \
|
||||||
|
fa_IR.UTF-8 \
|
||||||
|
fr_FR.UTF-8 \
|
||||||
|
he_IL.UTF-8 \
|
||||||
|
hi_IN.UTF-8 \
|
||||||
|
hu_HU.UTF-8 \
|
||||||
|
is_IS.UTF-8 \
|
||||||
|
it_IT.UTF-8 \
|
||||||
|
ja_JP.UTF-8 \
|
||||||
|
pl_PL.UTF-8 \
|
||||||
|
pt_PT.UTF-8 \
|
||||||
|
ru_RU.UTF-8 \
|
||||||
|
si_LK.UTF-8 \
|
||||||
|
sr_RS.UTF-8 \
|
||||||
|
sv_SE.UTF-8 \
|
||||||
|
tr_TR.UTF-8 \
|
||||||
|
vi_VN.UTF-8 \
|
||||||
|
zh_CN.UTF-8 \
|
||||||
|
# LOCALES
|
||||||
include ../gen-locales.mk
|
include ../gen-locales.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user