about summary refs log tree commit diff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
authorSunil K Pandey <skpgkp2@gmail.com>2021-10-27 13:50:16 -0700
committerSunil K Pandey <skpgkp2@gmail.com>2021-10-29 08:52:30 -0700
commit79d0fc65395716c1d95931064c7bf37852203c66 (patch)
treed52735fa37fdf968f71ae1589dadf1502cbdeef2 /benchtests/Makefile
parentf392915d1e9aa74a3255ab5afc091a86373aa3d2 (diff)
downloadglibc-79d0fc65395716c1d95931064c7bf37852203c66.tar.gz
glibc-79d0fc65395716c1d95931064c7bf37852203c66.tar.xz
glibc-79d0fc65395716c1d95931064c7bf37852203c66.zip
benchtests: Add acosf function to bench-math
Add acosf function to bench-math and copy acosf-inputs to benchtests.
Motivation for this patch is to prepare for upcoming libmvec new
functions.  Float and double version of libmvec functions stays
together.

acosf-inputs file generated from acos-inputs file using following
scaling formula:

f = d * (FLT_MAX/DBL_MAX)

Where d is input(double) and f is output(float).  If scaled float value
is duplicate in new input file, nextafterf() function used to find next
float value, ensuring no duplicates.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 7be0e47c47..8195795935 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -24,6 +24,7 @@ include ../Makeconfig
 
 bench-math := \
   acos \
+  acosf \
   acosh \
   asin \
   asinh \