Re: [gomp5] Allow OpenMP atomics inside simd regions

2018-06-14 Thread Richard Biener
On Thu, 14 Jun 2018, Jakub Jelinek wrote: > On Thu, Jun 14, 2018 at 12:34:11PM +0200, Richard Biener wrote: > > > #pragma omp atomic is now allowed inside of simd regions. > > > Tested on x86_64-linux, committed to gomp-5_0-branch. > > > > > > We will actually not vectorize it then though, so som

Re: [gomp5] Allow OpenMP atomics inside simd regions

2018-06-14 Thread Jakub Jelinek
On Thu, Jun 14, 2018 at 12:34:11PM +0200, Richard Biener wrote: > > #pragma omp atomic is now allowed inside of simd regions. > > Tested on x86_64-linux, committed to gomp-5_0-branch. > > > > We will actually not vectorize it then though, so some further work will be > > needed in the vectorizer t

Re: [gomp5] Allow OpenMP atomics inside simd regions

2018-06-14 Thread Richard Biener
On Thu, 14 Jun 2018, Jakub Jelinek wrote: > Hi! > > #pragma omp atomic is now allowed inside of simd regions. > Tested on x86_64-linux, committed to gomp-5_0-branch. > > We will actually not vectorize it then though, so some further work will be > needed in the vectorizer to handle it. Either,

[gomp5] Allow OpenMP atomics inside simd regions

2018-06-14 Thread Jakub Jelinek
Hi! #pragma omp atomic is now allowed inside of simd regions. Tested on x86_64-linux, committed to gomp-5_0-branch. We will actually not vectorize it then though, so some further work will be needed in the vectorizer to handle it. Either, if we have hw atomics for both the size of the scalar acc