diff options
author | Florian Weimer <fweimer@redhat.com> | 2025-01-16 19:59:58 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2025-01-16 19:59:58 +0100 |
commit | 0b795abd62282767a219a72c8c6fef753bacedfa (patch) | |
tree | a839b12c57ada65fabfce1c9c84ed171cb570a96 | |
parent | abeae3c0061c0599ac2f012b270d6b4c8f59c82f (diff) | |
download | glibc-0b795abd62282767a219a72c8c6fef753bacedfa.zip glibc-0b795abd62282767a219a72c8c6fef753bacedfa.tar.gz glibc-0b795abd62282767a219a72c8c6fef753bacedfa.tar.bz2 |
benchtests: Add dummy in put files cospi, cospif, sinpi, sinpif, tanpi, tanpif
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'
-rw-r--r-- | benchtests/libmvec/cospi-inputs | 4 | ||||
-rw-r--r-- | benchtests/libmvec/cospif-inputs | 4 | ||||
-rw-r--r-- | benchtests/libmvec/sinpi-inputs | 4 | ||||
-rw-r--r-- | benchtests/libmvec/sinpif-inputs | 4 | ||||
-rw-r--r-- | benchtests/libmvec/tanpi-inputs | 4 | ||||
-rw-r--r-- | benchtests/libmvec/tanpif-inputs | 4 |
6 files changed, 24 insertions, 0 deletions
diff --git a/benchtests/libmvec/cospi-inputs b/benchtests/libmvec/cospi-inputs new file mode 100644 index 0000000..298962d --- /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 0000000..3ec79be --- /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 0000000..298962d --- /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 0000000..3ec79be --- /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 0000000..298962d --- /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 0000000..3ec79be --- /dev/null +++ b/benchtests/libmvec/tanpif-inputs @@ -0,0 +1,4 @@ +## args: float +## ret: float +## includes: math.h +0.0 |