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

Ashwin Sekhar T K ashwin.sekhar@caviumnetworks.com
Thu Jul 6 08:54:00 GMT 2017


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



More information about the Libc-alpha mailing list