benchtests: Add fmod benchmark

Add three different dataset, from random floating point numbers:

1. Subnormals: 128 inputs.
2. Normal numbers with large exponent difference (|x/y| > 2^52):
   1024 inputs between DBL_MIN and DBL_MAX;
3. Close exponents (ey >= -907 and |x/y| < 2^52): 1024 inputs with
   exponents between -10 and 10.
Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>
This commit is contained in:
Adhemerval Zanella Netto 2023-03-20 13:01:14 -03:00 committed by Adhemerval Zanella
parent 743113d42e
commit 3ba0c9593f
2 changed files with 2183 additions and 0 deletions

View File

@ -48,6 +48,7 @@ bench-math := \
fmaxf \
fmin \
fminf \
fmod \
hypot \
hypotf \
ilogb \

2182
benchtests/fmod-inputs Normal file

File diff suppressed because it is too large Load Diff