about summary refs log tree commit diff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
authorJunxian Zhu <zhujunxian@oss.cipunited.com>2024-01-22 10:16:19 +0800
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-23 08:50:00 -0300
commit0a4d6c825405bb0dd5058566b01f12704cfc3731 (patch)
tree24a3fa943b4b192dad00374714df91fd2be11345 /benchtests/Makefile
parent59e0441d4a1198aa9d21643a6e4f370faec4ffbf (diff)
downloadglibc-0a4d6c825405bb0dd5058566b01f12704cfc3731.tar.gz
glibc-0a4d6c825405bb0dd5058566b01f12704cfc3731.tar.xz
glibc-0a4d6c825405bb0dd5058566b01f12704cfc3731.zip
benchtests: Add more benchtests for rounding functions.
This patch adds more benchtests for rounding functions.
The double inputs are copied from trunc-inputs, the float inputs are copied from truncf-inputs. and the rintf is copied from rint-inputs.
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 4fb9bae023..05b8751c55 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -32,6 +32,8 @@ bench-math := \
   atan2 \
   atanh \
   cbrt \
+  ceil \
+  ceilf \
   cos \
   cosf \
   cosh \
@@ -44,6 +46,8 @@ bench-math := \
   exp2f \
   expf \
   expm1 \
+  floor \
+  floorf \
   fmax \
   fmaxf \
   fmin \
@@ -60,6 +64,8 @@ bench-math := \
   j0 \
   j1 \
   lgamma \
+  llrint \
+  llrintf \
   log \
   log10 \
   log1p \
@@ -68,10 +74,15 @@ bench-math := \
   logb \
   logbf \
   logf \
+  lrint \
+  lrintf \
   modf \
+  nearbyint \
+  nearbyintf \
   pow \
   powf \
   rint \
+  rintf \
   roundeven \
   roundevenf \
   sin \