]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
benchtests: Add dummy in put files cospi, cospif, sinpi, sinpif, tanpi, tanpif
authorFlorian Weimer <fweimer@redhat.com>
Thu, 16 Jan 2025 18:59:58 +0000 (19:59 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 16 Jan 2025 18:59:58 +0000 (19:59 +0100)
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 [new file with mode: 0644]
benchtests/libmvec/cospif-inputs [new file with mode: 0644]
benchtests/libmvec/sinpi-inputs [new file with mode: 0644]
benchtests/libmvec/sinpif-inputs [new file with mode: 0644]
benchtests/libmvec/tanpi-inputs [new file with mode: 0644]
benchtests/libmvec/tanpif-inputs [new file with mode: 0644]

diff --git a/benchtests/libmvec/cospi-inputs b/benchtests/libmvec/cospi-inputs
new file mode 100644 (file)
index 0000000..298962d
--- /dev/null
@@ -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 (file)
index 0000000..3ec79be
--- /dev/null
@@ -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 (file)
index 0000000..298962d
--- /dev/null
@@ -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 (file)
index 0000000..3ec79be
--- /dev/null
@@ -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 (file)
index 0000000..298962d
--- /dev/null
@@ -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 (file)
index 0000000..3ec79be
--- /dev/null
@@ -0,0 +1,4 @@
+## args: float
+## ret: float
+## includes: math.h
+0.0