Re: [RFC PATCH] Extend the simd function attribute

2019-11-07 Thread Szabolcs Nagy
On 05/11/2019 18:42, Joseph Myers wrote: > On Tue, 5 Nov 2019, Szabolcs Nagy wrote: >> GCC currently supports two ways to declare the availability of vector >> variants of a scalar function: >> >> #pragma omp declare simd >> void f (void); >> >> and >> >> __attribute__ ((simd)) >> void f (v

Re: [RFC PATCH] Extend the simd function attribute

2019-11-05 Thread Joseph Myers
On Tue, 5 Nov 2019, Szabolcs Nagy wrote: > GCC currently supports two ways to declare the availability of vector > variants of a scalar function: > > #pragma omp declare simd > void f (void); > > and > > __attribute__ ((simd)) > void f (void); > > However neither can declare unambiguou

[RFC PATCH] Extend the simd function attribute

2019-11-05 Thread Szabolcs Nagy
(sorry for the resend, i forgot to add the mailing list) GCC currently supports two ways to declare the availability of vector variants of a scalar function: #pragma omp declare simd void f (void); and __attribute__ ((simd)) void f (void); However neither can declare unambiguously a si