[PATCH 20/20] x86-64: Add vector tan/tanf to libmvec microbenchmark

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


On Thu, Feb 03, 2022 at 10:25:59PM -0800, Sunil K Pandey wrote:
> Add vector tan/tanf and input files to libmvec microbenchmark.
> 
> libmvec-tan-inputs:
>   90% Normal random distribution
>   range: (-DBL_MAX, DBL_MAX)
>   mean: 0.0
>   sigma: 5.0
>   10% uniform random distribution in range (-1000.0, 1000.0)
> 
> libmvec-tanf-inputs:
>   90% Normal random distribution
>   range: (-FLT_MAX, FLT_MAX)
>   mean: 0.0f
>   sigma: 5.0f
>   10% uniform random distribution in range (-1000.0f, 1000.0f)
> ---
>  sysdeps/x86_64/fpu/Makeconfig          |    1 +
>  sysdeps/x86_64/fpu/libmvec-tan-inputs  | 4100 ++++++++++++++++++++++++
>  sysdeps/x86_64/fpu/libmvec-tanf-inputs | 4100 ++++++++++++++++++++++++
>  3 files changed, 8201 insertions(+)
>  create mode 100644 sysdeps/x86_64/fpu/libmvec-tan-inputs
>  create mode 100644 sysdeps/x86_64/fpu/libmvec-tanf-inputs
> 

LGTM.

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

Thanks.

H.J.


More information about the Libc-alpha mailing list