public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Sunil K Pandey <skpgkp2@gmail.com>
To: libc-alpha@sourceware.org
Subject: [PATCH 00/12] benchtests: Add float version of math functions to bench-math
Date: Fri, 29 Oct 2021 10:19:29 -0700	[thread overview]
Message-ID: <20211029171941.4161172-1-skpgkp2@gmail.com> (raw)
In-Reply-To: <CAMe9rOra4Gb4tW=178Y9JxCBVJmUY7veUVNMe+TCm-_Nmjp1CQ@mail.gmail.com>

Add float version of math functions to bench-math and copy input files
to benchtests.

Motivation for this patch is to prepare for upcoming libmvec new
functions.  Float and double version of libmvec functions stays
together.

Float input files generated from existing double input files using
following scaling formula:

f = d * (FLT_MAX/DBL_MAX)

Where d is input(double) and f is output(float).  If scaled float value
is duplicate in new input file, nextafterf() function used to find next
float value, ensuring no duplicates.


Sunil K Pandey (12):
  benchtests: Add acoshf function to bench-math
  benchtests: Add asinf function to bench-math
  benchtests: Add asinhf function to bench-math
  benchtests: Add atanf function to bench-math
  benchtests: Add atanhf function to bench-math
  benchtests: Add cbrtf function to bench-math
  benchtests: Add coshf function to bench-math
  benchtests: Add erfcf function to bench-math
  benchtests: Add erff function to bench-math
  benchtests: Add log10f function to bench-math
  benchtests: Add sinhf function to bench-math
  benchtests: Add tanhf function to bench-math

 benchtests/Makefile      |   12 +
 benchtests/acoshf-inputs |  303 +++++
 benchtests/asinf-inputs  | 2508 ++++++++++++++++++++++++++++++++++++++
 benchtests/asinhf-inputs |  303 +++++
 benchtests/atanf-inputs  |  806 ++++++++++++
 benchtests/atanhf-inputs |  203 +++
 benchtests/cbrtf-inputs  | 1004 +++++++++++++++
 benchtests/coshf-inputs  |  403 ++++++
 benchtests/erfcf-inputs  |  795 ++++++++++++
 benchtests/erff-inputs   |  794 ++++++++++++
 benchtests/log10f-inputs | 1004 +++++++++++++++
 benchtests/sinhf-inputs  |  303 +++++
 benchtests/tanhf-inputs  |  203 +++
 13 files changed, 8641 insertions(+)
 create mode 100644 benchtests/acoshf-inputs
 create mode 100644 benchtests/asinf-inputs
 create mode 100644 benchtests/asinhf-inputs
 create mode 100644 benchtests/atanf-inputs
 create mode 100644 benchtests/atanhf-inputs
 create mode 100644 benchtests/cbrtf-inputs
 create mode 100644 benchtests/coshf-inputs
 create mode 100644 benchtests/erfcf-inputs
 create mode 100644 benchtests/erff-inputs
 create mode 100644 benchtests/log10f-inputs
 create mode 100644 benchtests/sinhf-inputs
 create mode 100644 benchtests/tanhf-inputs

-- 
2.31.1


  reply	other threads:[~2021-10-29 17:19 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22 19:04 [PATCH] Add missing math functions to benchtests Sunil K Pandey
2021-10-22 20:24 ` Noah Goldstein
2021-10-22 20:38 ` Adhemerval Zanella
2021-10-22 23:12   ` Sunil Pandey
2021-10-25 17:05   ` Joseph Myers
2021-10-27 23:04     ` [PATCH v2] benchtests: Add acosf to bench-math Sunil K Pandey
2021-10-29 13:38       ` Sunil Pandey
2021-10-29 13:51         ` H.J. Lu
2021-10-29 17:19           ` Sunil K Pandey [this message]
2021-10-29 17:19             ` [PATCH 01/12] benchtests: Add acoshf function " Sunil K Pandey
2021-11-03 17:00               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 02/12] benchtests: Add asinf " Sunil K Pandey
2021-11-04  7:48               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 03/12] benchtests: Add asinhf " Sunil K Pandey
2021-11-04  8:16               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 04/12] benchtests: Add atanf " Sunil K Pandey
2021-11-04  8:03               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 05/12] benchtests: Add atanhf " Sunil K Pandey
2021-11-04  8:14               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 06/12] benchtests: Add cbrtf " Sunil K Pandey
2021-11-04  7:58               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 07/12] benchtests: Add coshf " Sunil K Pandey
2021-11-03 16:43               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 08/12] benchtests: Add erfcf " Sunil K Pandey
2021-11-04  8:11               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 09/12] benchtests: Add erff " Sunil K Pandey
2021-11-03 17:07               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 10/12] benchtests: Add log10f " Sunil K Pandey
2021-11-04  8:00               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 11/12] benchtests: Add sinhf " Sunil K Pandey
2021-11-04  7:53               ` Paul Zimmermann
2021-10-29 17:19             ` [PATCH 12/12] benchtests: Add tanhf " Sunil K Pandey
2021-11-03 16:53               ` Paul Zimmermann
2021-11-01 13:31             ` [PATCH 00/12] benchtests: Add float version of math functions " Sunil Pandey
2021-11-01 13:55               ` H.J. Lu
2021-10-29 20:44           ` [PATCH 0/4] benchtests: Add atan2f, expm1f, log1pf and tanf " Sunil K Pandey
2021-10-29 20:44             ` [PATCH 1/4] benchtests: Add atan2f function " Sunil K Pandey
2021-11-03 16:22               ` Paul Zimmermann
2021-10-29 20:44             ` [PATCH 2/4] benchtests: Add expm1f " Sunil K Pandey
2021-11-03 16:33               ` Paul Zimmermann
2021-10-29 20:44             ` [PATCH 3/4] benchtests: Add log1pf " Sunil K Pandey
2021-11-03 16:17               ` Paul Zimmermann
2021-10-29 20:44             ` [PATCH 4/4] benchtests: Add tanf " Sunil K Pandey
2021-11-01 13:33             ` [PATCH 0/4] benchtests: Add atan2f, expm1f, log1pf and tanf " Sunil Pandey
2021-11-01 20:33               ` Joseph Myers
2021-11-04  8:57       ` [PATCH v2] benchtests: Add acosf " Paul Zimmermann
2021-11-05 22:20         ` Sunil Pandey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211029171941.4161172-1-skpgkp2@gmail.com \
    --to=skpgkp2@gmail.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).