truncf \
y0 \
y1 \
+ # bench-math
ifneq (,$(filter yes,$(float96-fcts)))
bench-math += \
cbrtl \
-# bench-math
+ # bench-math
endif
ifneq (,$(filter yes,$(float128-fcts) $(float128-alias-fcts)))
ilogbf128 \
powf128 \
sinf128 \
-# bench-math
+ # bench-math
endif
bench-pthread := \
pthread-spin-trylock \
pthread_once \
thread_create \
-# bench-pthread
+ # bench-pthread
LDLIBS-bench-pthread-mutex-lock += -lm
LDLIBS-bench-pthread-mutex-trylock += -lm
bench-string := \
ffs \
ffsll \
-# bench-string
+ # bench-string
# String function benchmarks.
string-benchset := \
strspn \
strstr \
strtok \
-# string-benchset
+ # string-benchset
# Build and run locale-dependent benchmarks only if we're building natively.
ifeq (no,$(cross-compiling))
wmemchr \
wmemcmp \
wmemset \
-# wcsmbs-benchset
+ # wcsmbs-benchset
else
wcsmbs-benchset :=
endif
tr_TR.UTF-8 \
vi_VN.UTF-8 \
zh_CN.UTF-8 \
-# LOCALES
+ # LOCALES
include ../gen-locales.mk
endif
dl-elf-hash \
dl-new-hash \
nss-hash \
-# hash-benchset
+ # hash-benchset
stdlib-benchset := \
arc4random \
math-benchset := math-inlines
ifeq (${BENCHSET},)
-benchset := $(string-benchset-all) $(stdlib-benchset) $(stdio-common-benchset) \
- $(math-benchset) $(hash-benchset)
+benchset := \
+ $(hash-benchset) \
+ $(math-benchset) \
+ $(stdio-common-benchset) \
+ $(stdlib-benchset) \
+ $(string-benchset-all) \
+ # benchset
else
benchset := $(foreach B,$(filter %-benchset,${BENCHSET}), ${${B}})
endif
CFLAGS-bench-isfinite.c += $(config-cflags-signaling-nans)
ifeq (${BENCHSET},)
-bench-malloc := malloc-thread malloc-simple
+bench-malloc := \
+ malloc-simple \
+ malloc-thread \
+ # bench-malloc
else
bench-malloc := $(filter malloc-%,${BENCHSET})
endif
bench-math += $(bench-libmvec)
ifeq (${BENCHSET},)
-bench := $(bench-math) $(bench-pthread) $(bench-string)
+bench := \
+ $(bench-math) \
+ $(bench-pthread) \
+ $(bench-string) \
+ # bench
else
bench := $(foreach B,$(filter bench-%,${BENCHSET}), ${${B}})
endif
# This makes sure CPPFLAGS-nonlib and CFLAGS-nonlib are passed
# for all these modules.
-cpp-srcs-left := $(binaries-benchset:=.c) $(binaries-bench:=.c) \
- $(binaries-bench-malloc:=.c) $(timing-type:=.c)
+cpp-srcs-left := \
+ $(binaries-bench-malloc:=.c) \
+ $(binaries-bench:=.c) \
+ $(binaries-benchset:=.c) \
+ $(timing-type:=.c) \
+ # cpp-srcs-left
lib := nonlib
include $(patsubst %,$(..)libof-iterator.mk,$(cpp-srcs-left))
stdlib-benchset \
string-benchset \
wcsmbs-benchset \
-# VALIDBENCHSETNAMES
+ # VALIDBENCHSETNAMES
INVALIDBENCHSETNAMES := $(filter-out ${VALIDBENCHSETNAMES},${BENCHSET})
ifneq (${INVALIDBENCHSETNAMES},)