[PATCH] aarch64: Implement exp2m1(f) and exp10m1(f) routines

Andreas K. Huettel andreas.huettel@ur.de
Wed Jul 9 12:32:50 GMT 2025


Am Mittwoch, 9. Juli 2025, 11:58:49 Mitteleuropäische Sommerzeit schrieb Hasaan Khan:
> Vector variants of the new C23 exp2m1(f) & exp10m1(f) routines. New tests pass on AArch64.
> 
> Co-authored by: Dylan Fleming <Dylan.Fleming@arm.com>

* needs a review
* please after the release

> ---
> OK for master? If so please commit for me as I don't have commit rights.
> Thanks,
> Hasaan
>  benchtests/libmvec/exp10m1-inputs             | 4100 +++++++++++++++++
>  benchtests/libmvec/exp10m1f-inputs            | 4100 +++++++++++++++++
>  benchtests/libmvec/exp2m1-inputs              | 4100 +++++++++++++++++
>  benchtests/libmvec/exp2m1f-inputs             | 4100 +++++++++++++++++
>  bits/libm-simd-decl-stubs.h                   |   22 +
>  math/bits/mathcalls.h                         |    4 +-
>  sysdeps/aarch64/fpu/Makefile                  |    2 +
>  sysdeps/aarch64/fpu/Versions                  |   11 +
>  sysdeps/aarch64/fpu/advsimd_f32_protos.h      |    2 +
>  sysdeps/aarch64/fpu/bits/math-vector.h        |   16 +
>  sysdeps/aarch64/fpu/exp10m1_advsimd.c         |  202 +
>  sysdeps/aarch64/fpu/exp10m1_sve.c             |  184 +
>  sysdeps/aarch64/fpu/exp10m1f_advsimd.c        |  120 +
>  sysdeps/aarch64/fpu/exp10m1f_sve.c            |  122 +
>  sysdeps/aarch64/fpu/exp2m1_advsimd.c          |  194 +
>  sysdeps/aarch64/fpu/exp2m1_sve.c              |  197 +
>  sysdeps/aarch64/fpu/exp2m1f_advsimd.c         |  106 +
>  sysdeps/aarch64/fpu/exp2m1f_sve.c             |  108 +
>  .../fpu/test-double-advsimd-wrappers.c        |    2 +
>  .../aarch64/fpu/test-double-sve-wrappers.c    |    2 +
>  .../aarch64/fpu/test-float-advsimd-wrappers.c |    2 +
>  sysdeps/aarch64/fpu/test-float-sve-wrappers.c |    2 +
>  .../unix/sysv/linux/aarch64/libmvec.abilist   |   10 +
>  23 files changed, 17706 insertions(+), 2 deletions(-)
>  create mode 100644 benchtests/libmvec/exp10m1-inputs
>  create mode 100644 benchtests/libmvec/exp10m1f-inputs
>  create mode 100644 benchtests/libmvec/exp2m1-inputs
>  create mode 100644 benchtests/libmvec/exp2m1f-inputs
>  create mode 100644 sysdeps/aarch64/fpu/exp10m1_advsimd.c
>  create mode 100644 sysdeps/aarch64/fpu/exp10m1_sve.c
>  create mode 100644 sysdeps/aarch64/fpu/exp10m1f_advsimd.c
>  create mode 100644 sysdeps/aarch64/fpu/exp10m1f_sve.c
>  create mode 100644 sysdeps/aarch64/fpu/exp2m1_advsimd.c
>  create mode 100644 sysdeps/aarch64/fpu/exp2m1_sve.c
>  create mode 100644 sysdeps/aarch64/fpu/exp2m1f_advsimd.c
>  create mode 100644 sysdeps/aarch64/fpu/exp2m1f_sve.c
> 



-- 
PD Dr. Andreas K. Huettel
Institute for Experimental and Applied Physics
University of Regensburg
93040 Regensburg
Germany

tel. +49 151 241 67748 (mobile)
tel. +49 941 943 1618 (office)
e-mail andreas.huettel@ur.de
https://www.akhuettel.de/
https://www.akhuettel.de/group/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 981 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250709/98a7c3d3/attachment.sig>


More information about the Libc-alpha mailing list