[PATCH 00/12] benchtests: Add float version of math functions to bench-math
H.J. Lu
hjl.tools@gmail.com
Mon Nov 1 13:55:41 GMT 2021
On Mon, Nov 1, 2021 at 6:33 AM Sunil Pandey via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> Ok for trunk?
Carlos will try to review these patches.
> On Fri, Oct 29, 2021 at 10:19 AM Sunil K Pandey via Libc-alpha <
> libc-alpha@sourceware.org> wrote:
>
> > 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
> >
> >
--
H.J.
More information about the Libc-alpha
mailing list