[PATCH 06/20] x86-64: Add vector cosh/coshf to libmvec microbenchmark

H.J. Lu hjl.tools@gmail.com
Sun Feb 6 16:37:49 GMT 2022


On Thu, Feb 03, 2022 at 10:25:45PM -0800, Sunil K Pandey wrote:
> Add vector cosh/coshf and input files to libmvec microbenchmark.
> 
> libmvec-cosh-inputs:
>   90% Normal random distribution
>   range: (-710.0, 710.0)
>   mean: 0.0
>   sigma: 32.0
>   10% uniform random distribution in range (-500.0, 500.0)
> 
> libmvec-coshf-inputs:
>   90% Normal random distribution
>   range: (-89.0f, 89.0f)
>   mean: 0.0f
>   sigma: 16.0f
>   10% uniform random distribution in range (-50.0f, 50.0f)
> ---
>  sysdeps/x86_64/fpu/Makeconfig           |    1 +
>  sysdeps/x86_64/fpu/libmvec-cosh-inputs  | 4100 +++++++++++++++++++++++
>  sysdeps/x86_64/fpu/libmvec-coshf-inputs | 4100 +++++++++++++++++++++++
>  3 files changed, 8201 insertions(+)
>  create mode 100644 sysdeps/x86_64/fpu/libmvec-cosh-inputs
>  create mode 100644 sysdeps/x86_64/fpu/libmvec-coshf-inputs
> 

LGTM.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

Thanks.

H.J.


More information about the Libc-alpha mailing list