[PATCH v2 02/25] benchtests: Add acoshf benchmark

DJ Delorie dj@redhat.com
Sat Dec 7 00:24:27 GMT 2024


Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> Random inputs in the range [1,21].

LGTM
Reviewed-by: DJ Delorie <dj@redhat.com>

> diff --git a/benchtests/Makefile b/benchtests/Makefile
> index 924434903a..5d5c20780f 100644
> --- a/benchtests/Makefile
> +++ b/benchtests/Makefile
> @@ -27,6 +27,7 @@ bench-math := \
>    acos \
>    acosf \
>    acosh \
> +  acoshf \
>    asin \

Ok.

> diff --git a/benchtests/acoshf-inputs b/benchtests/acoshf-inputs
> new file mode 100644
> index 0000000000..c4d8298fa3
> --- /dev/null
> +++ b/benchtests/acoshf-inputs
> @@ -0,0 +1,1005 @@
> +## args: float
> +## ret: float
> +## includes: math.h
> +# Random inputs in the range [1,21]
> +## name: workload-random-1-21

Ok.

> +0x1.0baaacp+2
> +0x1.2a9368p+4
> +0x1.32b4bcp+3
> . . .
> +0x1.2e3b94p+2
> +0x1.94dc9cp+3
> +0x1.225ce8p+1

Ok.



More information about the Libc-alpha mailing list