[PATCH 7/N v2] [x86_64] Vectorized math functions

Andrew Senkevich andrew.n.senkevich@gmail.com
Tue Dec 9 10:59:00 GMT 2014


2014-12-03 21:14 GMT+03:00 Joseph Myers <joseph@codesourcery.com>:
> On Tue, 2 Dec 2014, Andrew Senkevich wrote:
>
>> This patch adds vector implementations of cos for x86_64 (SSE4, AVX
>> and AVX2 versions).
>>
>>         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
>>         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
>>         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx2.S: New file.
>>         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
>>         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
>>         * sysdeps/x86_64/fpu/Versions: New file.
>
> I think patches 7 and 8 should be combined, rather than having an
> intermediate state where these sources are present but not actually used.

Combined and attached, it seems not passed being sent in plain text.

ChangeLog

        * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
        * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
        * sysdeps/x86_64/fpu/svml_d_cos4_core_avx2.S: New file.
        * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
        * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
        * sysdeps/x86_64/fpu/Versions: New file.
        * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
        * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
        * sysdeps/x86_64/configure: Regenerated.
        * sysdeps/x86_64/configure.ac: Options for libmvec build.
        * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
        * sysdeps/x86_64/fpu/Makefile: New file.


--
WBR,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmvec_6_of_N_v4.patch
Type: application/octet-stream
Size: 23137 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20141209/1f780f3d/attachment.obj>


More information about the Libc-alpha mailing list