Re: [RFC, VECTOR ABI] Allow __attribute__((vector)) in GCC by default.

2015-10-07 Thread Jeff Law
On 10/07/2015 11:34 AM, Ramana Radhakrishnan wrote: On Wed, Oct 7, 2015 at 6:22 PM, Joseph Myers wrote: On Wed, 7 Oct 2015, Jeff Law wrote: I'm not sure why this attribute isn't documented, but clearly that should be fixed. I assume the reasoning was: we document support for Cilk+ (and what

Re: [RFC, VECTOR ABI] Allow __attribute__((vector)) in GCC by default.

2015-10-07 Thread Jeff Law
On 10/07/2015 11:22 AM, Joseph Myers wrote: On Wed, 7 Oct 2015, Jeff Law wrote: I'm not sure why this attribute isn't documented, but clearly that should be fixed. I assume the reasoning was: we document support for Cilk+ (and what's included in Cilk+ is externally documented). When it becom

Re: [RFC, VECTOR ABI] Allow __attribute__((vector)) in GCC by default.

2015-10-07 Thread Ramana Radhakrishnan
On Wed, Oct 7, 2015 at 6:22 PM, Joseph Myers wrote: > On Wed, 7 Oct 2015, Jeff Law wrote: > >> I'm not sure why this attribute isn't documented, but clearly that should be >> fixed. > > I assume the reasoning was: we document support for Cilk+ (and what's > included in Cilk+ is externally document

Re: [RFC, VECTOR ABI] Allow __attribute__((vector)) in GCC by default.

2015-10-07 Thread Joseph Myers
On Wed, 7 Oct 2015, Jeff Law wrote: > I'm not sure why this attribute isn't documented, but clearly that should be > fixed. I assume the reasoning was: we document support for Cilk+ (and what's included in Cilk+ is externally documented). When it becomes a generic GNU C attribute, that reasoni

Re: [RFC, VECTOR ABI] Allow __attribute__((vector)) in GCC by default.

2015-10-07 Thread Jeff Law
On 10/05/2015 07:24 AM, Joseph Myers wrote: On Mon, 5 Oct 2015, Kirill Yukhin wrote: To enable vectorization of loops w/ calls to math functions it is reasonable to enable parsing of attribute vector for functions unconditionally and change GlibC's header file not to use `omp declare simd', but

Re: [RFC, VECTOR ABI] Allow __attribute__((vector)) in GCC by default.

2015-10-05 Thread Joseph Myers
On Mon, 5 Oct 2015, Kirill Yukhin wrote: > To enable vectorization of loops w/ calls to math functions it is reasonable > to enable parsing of attribute vector for functions unconditionally and > change GlibC's header file not to use `omp declare simd', but use > __attribute__((vector)) instead.

[RFC, VECTOR ABI] Allow __attribute__((vector)) in GCC by default.

2015-10-05 Thread Kirill Yukhin
Hello, Recently vector ABI was introduced into GCC Vector versions of math functions were incorporated in to GlibC starting from v2.22. Unfortunately, to get this functions work `-fopenmp' switch must be added to compiler invocation. This is due to the fact that vector variant of math functions gen