benchtests: Reformat Makefile.

Reflow all long lines adding comment terminators.
Sort all reflowed text using scripts/sort-makefile-lines.py.

No regressions running microbenchmarks.
No code generation changes observed in binary artifacts.
No regressions on x86_64 and i686.
This commit is contained in:
Carlos O'Donell 2023-05-18 13:06:02 -04:00
parent ebd928224a
commit 85c3569cf4

View file

@ -87,6 +87,7 @@ bench-math := \
truncf \ truncf \
y0 \ y0 \
y1 \ y1 \
# bench-math
ifneq (,$(filter yes,$(float96-fcts))) ifneq (,$(filter yes,$(float96-fcts)))
bench-math += \ bench-math += \
@ -253,8 +254,13 @@ stdio-common-benchset := sprintf
math-benchset := math-inlines math-benchset := math-inlines
ifeq (${BENCHSET},) ifeq (${BENCHSET},)
benchset := $(string-benchset-all) $(stdlib-benchset) $(stdio-common-benchset) \ benchset := \
$(math-benchset) $(hash-benchset) $(hash-benchset) \
$(math-benchset) \
$(stdio-common-benchset) \
$(stdlib-benchset) \
$(string-benchset-all) \
# benchset
else else
benchset := $(foreach B,$(filter %-benchset,${BENCHSET}), ${${B}}) benchset := $(foreach B,$(filter %-benchset,${BENCHSET}), ${${B}})
endif endif
@ -275,7 +281,10 @@ CFLAGS-bench-isinf.c += $(config-cflags-signaling-nans)
CFLAGS-bench-isfinite.c += $(config-cflags-signaling-nans) CFLAGS-bench-isfinite.c += $(config-cflags-signaling-nans)
ifeq (${BENCHSET},) ifeq (${BENCHSET},)
bench-malloc := malloc-thread malloc-simple bench-malloc := \
malloc-simple \
malloc-thread \
# bench-malloc
else else
bench-malloc := $(filter malloc-%,${BENCHSET}) bench-malloc := $(filter malloc-%,${BENCHSET})
endif endif
@ -352,7 +361,11 @@ include ../Rules
bench-math += $(bench-libmvec) bench-math += $(bench-libmvec)
ifeq (${BENCHSET},) ifeq (${BENCHSET},)
bench := $(bench-math) $(bench-pthread) $(bench-string) bench := \
$(bench-math) \
$(bench-pthread) \
$(bench-string) \
# bench
else else
bench := $(foreach B,$(filter bench-%,${BENCHSET}), ${${B}}) bench := $(foreach B,$(filter bench-%,${BENCHSET}), ${${B}})
endif endif
@ -368,8 +381,12 @@ extra-objs += $(addsuffix .o,$(addprefix bench-,$(bench-malloc)))
# This makes sure CPPFLAGS-nonlib and CFLAGS-nonlib are passed # This makes sure CPPFLAGS-nonlib and CFLAGS-nonlib are passed
# for all these modules. # for all these modules.
cpp-srcs-left := $(binaries-benchset:=.c) $(binaries-bench:=.c) \ cpp-srcs-left := \
$(binaries-bench-malloc:=.c) $(timing-type:=.c) $(binaries-bench-malloc:=.c) \
$(binaries-bench:=.c) \
$(binaries-benchset:=.c) \
$(timing-type:=.c) \
# cpp-srcs-left
lib := nonlib lib := nonlib
include $(patsubst %,$(..)libof-iterator.mk,$(cpp-srcs-left)) include $(patsubst %,$(..)libof-iterator.mk,$(cpp-srcs-left))