This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v1 8/12] PPC64: Add libmvec SIMD single-precision logarithm function.
- From: Tulio Magno Quites Machado Filho <tuliom at ascii dot art dot br>
- To: GT <tnggil at protonmail dot com>, libc-alpha at sourceware dot org
- Cc:
- Date: Thu, 09 May 2019 17:23:36 -0300
- Subject: Re: [PATCH v1 8/12] PPC64: Add libmvec SIMD single-precision logarithm function.
- References: <CEPQaaVIHe-cPvwPol9tPbWuAkCuwOfGn7CusH3ay20JZ9yIykgBArgh4utXWZ75nmTvBqFtF2JC87iLxXvGEscSZSiG25Jj7EikcnA4zEk=@protonmail.com>
GT <tnggil@protonmail.com> writes:
> [BZ #24208]
>
> Implements single-precision vector logarithm function. The algorithm is
> an adaptation of the one in sysdeps/ieee754/flt-32/e_logf.c, modified for
> PPC64 VSX hardware. The version of e_logf.c referenced here is from
> commit #bf27d3973d.
>
> The patch has been tested on both Little-Endian and Big-Endian. It
> passes all the tests for single-precision logarithm run by make check with
> max ULP of 1. Integration into the make check infrastructure is adapted from
> similar x86_64 changes in commit #774488f88a.
>
> 2019-05-07 Bert Tenjy <bert.tenjy@gmail.com>
>
> * NEWS: Noted the addition of PPC64 vector logf function.
> * sysdeps/powerpc/bits/math-vector.h: Added entry for vector logf.
> * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
> * sysdeps/powerpc/powerpc64/fpu/Versions: Added vector logf entry.
> * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: (libmvec-sysdep_routines)
> (CFLAGS-vec_s_logf4_vsx.c, CFLAGS-vec_s_logf4_data.c): Added build of VSX
> SIMD logf function and tests.
> * sysdeps/powerpc/powerpc64/fpu/multiarch/math_config_flt.h: New file.
> * sysdeps/powerpc/powerpc64/fpu/multiarch/test-float-vlen4-wrappers.c: Added
> entry for vector logf.
> * sysdeps/powerpc/powerpc64/fpu/multiarch/vec_s_logf4_vsx.c: New file.
> * sysdeps/powerpc/powerpc64/fpu/multiarch/vec_s_logf_data.c: Likewise.
> * sysdeps/unix/sysv/linux/powerpc/powerpc64/libmvec.abilist: SIMD logf added.
LGTM. I'm merging it.
Thanks!
--
Tulio Magno