This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/N] x86_64 vectorization support: vectorized math functions addition to Glibc


> The wiki says:
>
> 3.1. Goal
>
> Main goal is to improve vectorization of GCC with OpenMP4.0 SIMD
> constructs (#2.8 in http://www.openmp.org/mp-documents/OpenMP4.0.0.pdf
> and Cilk Plus constructs (6-7 in
> http://www.cilkplus.org/sites/default/files/open_specifications/Intel_Cilk_plus_lang_spec_1.2.htm)
> on x86_64 by adding SSE4, AVX and AVX2 vector implementations of
> several vector math functions (float and double versions). AVX-512
> versions are planned to be added later. These functions can be also
> used manually (with intrincics) by developers to obtain speedup.
>
> It is the opposite of
>
> https://sourceware.org/ml/libc-alpha/2014-09/msg00277.html
>
> which is for programmers to use them directly in their
> applications, mostly independent of compilers.
>
> We need to come to an agreement on what goal is first.
>
> --
> H.J.

Hi H.J.,

of course the first goal is to improve vectorization. Usage with
intrinsics is additional goal and is not very significant.

Attached first patch corrected according last comments in
https://sourceware.org/ml/libc-alpha/2014-09/msg00182.html.

Attachment: vectorized_cos_v2.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]