This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/1] benchtests: Add sinf/cosf inputs
- From: Ashwin Sekhar T K <ashwin dot sekhar at caviumnetworks dot com>
- To: libc-alpha at sourceware dot org
- Cc: Ashwin Sekhar T K <ashwin dot sekhar at caviumnetworks dot com>
- Date: Thu, 6 Jul 2017 01:54:21 -0700
- Subject: [PATCH 0/1] benchtests: Add sinf/cosf inputs
- Authentication-results: sourceware.org; auth=none
- Authentication-results: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=caviumnetworks.com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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