This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/1] benchtests: Add sinf/cosf inputs


This patch adds inputs for sinf and cosf in benchtest framework. There are
two sets of inputs created.

1) Non-weighted inputs: Here equal weight is given to all non-fast path inputs.
   This is based on the suggestion in the following discussion.
   https://sourceware.org/ml/libc-alpha/2017-06/msg01154.html

2) Common inputs: More weightage is given to inputs in (-9*Pi/4, 9*Pi/4) range.
   This is based on the suggestion in the following discussion.
   https://sourceware.org/ml/libc-alpha/2017-06/msg00546.html

The values chosen are random values. These were generated by calling drand48()
and scaling the output according to the required interval. The current time
was used as the seed.

Ashwin Sekhar T K (1):
  benchtests: Benchmark inputs for sinf and cosf

 benchtests/Makefile    |    4 +-
 benchtests/cosf-inputs | 4034 ++++++++++++++++++++++++++++++++++++++++++++++++
 benchtests/sinf-inputs | 4034 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 8070 insertions(+), 2 deletions(-)
 create mode 100644 benchtests/cosf-inputs
 create mode 100644 benchtests/sinf-inputs

-- 
2.12.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]