[PATCH] benchtests: Add dummy in put files cospi, cospif, sinpi, sinpif, tanpi, tanpif

Andreas K. Huettel andreas.huettel@ur.de
Thu Jan 16 14:27:20 GMT 2025


ping, do you still want to puch this?

Am Donnerstag, 9. Januar 2025, 12:45:47 Mitteleuropäische Normalzeit schrieb Florian Weimer:
> This fixes an AArch64 build failure:
> 
> python3 -B ../sysdeps/aarch64/fpu/scripts/bench_libmvec_advsimd.py bench-float-advsimd-cospi > …/benchtests/bench-float-advsimd-cospi.c
> Traceback (most recent call last):
>   File "…/sysdeps/aarch64/fpu/scripts/bench_libmvec_advsimd.py", line 106, in <module>
>     main(sys.argv[1])
>     ~~~~^^^^^^^^^^^^^
>   File "…/sysdeps/aarch64/fpu/scripts/bench_libmvec_advsimd.py", line 81, in main
>     with open(f"../benchtests/libmvec/{input_filename}") as f:
>          ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> FileNotFoundError: [Errno 2] No such file or directory: '../benchtests/libmvec/cospif-inputs'
> 
> ---
>  benchtests/libmvec/cospi-inputs  | 4 ++++
>  benchtests/libmvec/cospif-inputs | 4 ++++
>  benchtests/libmvec/sinpi-inputs  | 4 ++++
>  benchtests/libmvec/sinpif-inputs | 4 ++++
>  benchtests/libmvec/tanpi-inputs  | 4 ++++
>  benchtests/libmvec/tanpif-inputs | 4 ++++
>  6 files changed, 24 insertions(+)
> 
> diff --git a/benchtests/libmvec/cospi-inputs b/benchtests/libmvec/cospi-inputs
> new file mode 100644
> index 0000000000..298962d374
> --- /dev/null
> +++ b/benchtests/libmvec/cospi-inputs
> @@ -0,0 +1,4 @@
> +## args: double
> +## ret: double
> +## includes: math.h
> +0.0
> diff --git a/benchtests/libmvec/cospif-inputs b/benchtests/libmvec/cospif-inputs
> new file mode 100644
> index 0000000000..3ec79be205
> --- /dev/null
> +++ b/benchtests/libmvec/cospif-inputs
> @@ -0,0 +1,4 @@
> +## args: float
> +## ret: float
> +## includes: math.h
> +0.0
> diff --git a/benchtests/libmvec/sinpi-inputs b/benchtests/libmvec/sinpi-inputs
> new file mode 100644
> index 0000000000..298962d374
> --- /dev/null
> +++ b/benchtests/libmvec/sinpi-inputs
> @@ -0,0 +1,4 @@
> +## args: double
> +## ret: double
> +## includes: math.h
> +0.0
> diff --git a/benchtests/libmvec/sinpif-inputs b/benchtests/libmvec/sinpif-inputs
> new file mode 100644
> index 0000000000..3ec79be205
> --- /dev/null
> +++ b/benchtests/libmvec/sinpif-inputs
> @@ -0,0 +1,4 @@
> +## args: float
> +## ret: float
> +## includes: math.h
> +0.0
> diff --git a/benchtests/libmvec/tanpi-inputs b/benchtests/libmvec/tanpi-inputs
> new file mode 100644
> index 0000000000..298962d374
> --- /dev/null
> +++ b/benchtests/libmvec/tanpi-inputs
> @@ -0,0 +1,4 @@
> +## args: double
> +## ret: double
> +## includes: math.h
> +0.0
> diff --git a/benchtests/libmvec/tanpif-inputs b/benchtests/libmvec/tanpif-inputs
> new file mode 100644
> index 0000000000..3ec79be205
> --- /dev/null
> +++ b/benchtests/libmvec/tanpif-inputs
> @@ -0,0 +1,4 @@
> +## args: float
> +## ret: float
> +## includes: math.h
> +0.0
> 
> base-commit: 82688ca3107c93d9eba6440981e473d1877b6281
> 
> 


-- 
PD Dr. Andreas K. Huettel
Institute for Experimental and Applied Physics
University of Regensburg
93040 Regensburg
Germany

tel. +49 151 241 67748 (mobile)
tel. +49 941 943 1618 (office)
e-mail andreas.huettel@ur.de
https://www.akhuettel.de/
https://www.akhuettel.de/group/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 981 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250116/44777e09/attachment.sig>


More information about the Libc-alpha mailing list