[PATCH 03/20] x86-64: Add vector hypot/hypotf to libmvec microbenchmark
H.J. Lu
hjl.tools@gmail.com
Sun Feb 6 16:38:52 GMT 2022
On Thu, Feb 03, 2022 at 10:25:42PM -0800, Sunil K Pandey wrote:
> Add vector hypot/hypotf and input files to libmvec microbenchmark.
>
> libmvec-hypot-inputs:
> arg1:
> 90% Normal random distribution
> range: (-DBL_MAX, DBL_MAX)
> mean: 0.0
> sigma: 10.0
> 10% uniform random distribution in range (-1000.0, 1000.0)
> arg1:
> 90% Normal random distribution
> range: (-DBL_MAX, DBL_MAX)
> mean: 0.0
> sigma: 10.0
> 10% uniform random distribution in range (-1000.0, 1000.0)
>
> libmvec-hypotf-inputs:
> arg1:
> 90% Normal random distribution
> range: (-FLT_MAX, FLT_MAX)
> mean: 0.0f
> sigma: 10.0f
> 10% uniform random distribution in range (-1000.0f, 1000.0f)
> arg2:
> 90% Normal random distribution
> range: (-FLT_MAX, FLT_MAX)
> mean: 0.0f
> sigma: 10.0f
> 10% uniform random distribution in range (-1000.0f, 1000.0f)
> ---
> sysdeps/x86_64/fpu/Makeconfig | 1 +
> sysdeps/x86_64/fpu/libmvec-hypot-inputs | 4100 ++++++++++++++++++++++
> sysdeps/x86_64/fpu/libmvec-hypotf-inputs | 4100 ++++++++++++++++++++++
> 3 files changed, 8201 insertions(+)
> create mode 100644 sysdeps/x86_64/fpu/libmvec-hypot-inputs
> create mode 100644 sysdeps/x86_64/fpu/libmvec-hypotf-inputs
>
LGTM.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Thanks.
H.J.
More information about the Libc-alpha
mailing list