]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
bench-malloc-thread: Add libm for powf
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 6 Feb 2024 19:52:45 +0000 (16:52 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Oct 2025 16:54:55 +0000 (13:54 -0300)
The bench-malloc-thread.c:63 does use powf and compiler might not
optimzie it away.

benchtests/Makefile

index b4d92b1c04d6910e3c463b574b50a28c57227edf..5c87f33488bbf92d26cb379a6eef5ce15d275926 100644 (file)
@@ -387,6 +387,8 @@ $(addprefix $(objpfx)bench-,$(bench-pthread)): $(thread-library-benchtests)
 $(addprefix $(objpfx)bench-,$(bench-malloc)): $(thread-library-benchtests)
 $(addprefix $(objpfx)bench-,pthread-locks): $(libm-benchtests)
 $(addprefix $(objpfx)bench-,pthread-mutex-locks): $(libm-benchtests)
+$(addprefix $(objpfx)bench-,malloc-thread): $(libm-benchtests)
+$(addprefix $(objpfx)bench-,calloc-thread): $(libm-benchtests)
 
 \f