diff mbox series

bench-math: Sort and put each bench per line

Message ID 20211022231635.1304540-1-hjl.tools@gmail.com
State New
Headers show
Series bench-math: Sort and put each bench per line | expand

Commit Message

H.J. Lu Oct. 22, 2021, 11:16 p.m. UTC
Sort and put each math bench per line to prepare for new math benches.
---
 benchtests/Makefile | 68 +++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 62 insertions(+), 6 deletions(-)

Comments

Noah Goldstein Oct. 23, 2021, 7:50 a.m. UTC | #1
On Fri, Oct 22, 2021 at 7:16 PM H.J. Lu via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> Sort and put each math bench per line to prepare for new math benches.
> ---
>  benchtests/Makefile | 68 +++++++++++++++++++++++++++++++++++++++++----
>  1 file changed, 62 insertions(+), 6 deletions(-)
>
> diff --git a/benchtests/Makefile b/benchtests/Makefile
> index 4fcd73131a..b690aaf65b 100644
> --- a/benchtests/Makefile
> +++ b/benchtests/Makefile
> @@ -21,12 +21,68 @@
>  subdir := benchtests
>
>  include ../Makeconfig
> -bench-math := acos acosh asin asinh atan atanh cos cosh exp exp2 log log2   \
> -             modf pow rint sin sincos sinh sqrt tan tanh fmin fmax fminf   \
> -             fmaxf powf trunc truncf roundeven roundevenf expf exp2f logf  \
> -             log2f sincosf sinf cosf isnan isinf isfinite hypot logb logbf \
> -             exp10f ilogb ilogbf cbrt erf erfc exp10 expm1 j0 j1 lgamma    \
> -             log10 log1p tgamma y0 y1 atan2
> +
> +bench-math := \
> +  acos \
> +  acosh \
> +  asin \
> +  asinh \
> +  atan \
> +  atan2 \
> +  atanh \
> +  cbrt \
> +  cos \
> +  cosf \
> +  cosh \
> +  erf \
> +  erfc \
> +  exp \
> +  exp10 \
> +  exp10f \
> +  exp2 \
> +  exp2f \
> +  expf \
> +  expm1 \
> +  fmax \
> +  fmaxf \
> +  fmin \
> +  fminf \
> +  hypot \
> +  ilogb \
> +  ilogbf \
> +  isfinite \
> +  isinf \
> +  isnan \
> +  j0 \
> +  j1 \
> +  lgamma \
> +  log \
> +  log10 \
> +  log1p \
> +  log2 \
> +  log2f \
> +  logb \
> +  logbf \
> +  logf \
> +  modf \
> +  pow \
> +  powf \
> +  rint \
> +  roundeven \
> +  roundevenf \
> +  sin \
> +  sincos \
> +  sincosf \
> +  sinf \
> +  sinh \
> +  sqrt \
> +  tan \
> +  tanh \
> +  tgamma \
> +  trunc \
> +  truncf \
> +  y0 \
> +  y1 \
>
>  ifneq (,$(filter yes,$(float96-fcts)))
>  bench-math += cbrtl
> --
> 2.32.0
>

LGTM.
diff mbox series

Patch

diff --git a/benchtests/Makefile b/benchtests/Makefile
index 4fcd73131a..b690aaf65b 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -21,12 +21,68 @@ 
 subdir := benchtests
 
 include ../Makeconfig
-bench-math := acos acosh asin asinh atan atanh cos cosh exp exp2 log log2   \
-	      modf pow rint sin sincos sinh sqrt tan tanh fmin fmax fminf   \
-	      fmaxf powf trunc truncf roundeven roundevenf expf exp2f logf  \
-	      log2f sincosf sinf cosf isnan isinf isfinite hypot logb logbf \
-	      exp10f ilogb ilogbf cbrt erf erfc exp10 expm1 j0 j1 lgamma    \
-	      log10 log1p tgamma y0 y1 atan2
+
+bench-math := \
+  acos \
+  acosh \
+  asin \
+  asinh \
+  atan \
+  atan2 \
+  atanh \
+  cbrt \
+  cos \
+  cosf \
+  cosh \
+  erf \
+  erfc \
+  exp \
+  exp10 \
+  exp10f \
+  exp2 \
+  exp2f \
+  expf \
+  expm1 \
+  fmax \
+  fmaxf \
+  fmin \
+  fminf \
+  hypot \
+  ilogb \
+  ilogbf \
+  isfinite \
+  isinf \
+  isnan \
+  j0 \
+  j1 \
+  lgamma \
+  log \
+  log10 \
+  log1p \
+  log2 \
+  log2f \
+  logb \
+  logbf \
+  logf \
+  modf \
+  pow \
+  powf \
+  rint \
+  roundeven \
+  roundevenf \
+  sin \
+  sincos \
+  sincosf \
+  sinf \
+  sinh \
+  sqrt \
+  tan \
+  tanh \
+  tgamma \
+  trunc \
+  truncf \
+  y0 \
+  y1 \
 
 ifneq (,$(filter yes,$(float96-fcts)))
 bench-math += cbrtl