Re: [gomp4] Worker-single predication

2015-06-03 Thread Bernd Schmidt
On 06/02/2015 01:06 PM, Thomas Schwinge wrote: On Mon, 1 Jun 2015 17:58:51 +0200, Bernd Schmidt wrote: This extends the previous vector-single support to also handle worker-level predication. [...] This causes the following regressions; would you please have a look? I committed the followi

Re: [gomp4] Worker-single predication

2015-06-02 Thread Cesar Philippidis
On 06/01/2015 08:58 AM, Bernd Schmidt wrote: > This extends the previous vector-single support to also handle > worker-level predication. We can't use the shfl insn because workers > will live across multiple warps, so we use a location in memory to > broadcast the branch target. > This also fixes

Re: [gomp4] Worker-single predication

2015-06-02 Thread Thomas Schwinge
Hi Bernd! On Mon, 1 Jun 2015 17:58:51 +0200, Bernd Schmidt wrote: > This extends the previous vector-single support to also handle > worker-level predication. [...] This causes the following regressions; would you please have a look? [-PASS:-]{+FAIL: g++.dg/goacc/template.C -std=c++11 (i

Re: [gomp4] Worker-single predication

2015-06-02 Thread Thomas Schwinge
Hi Bernd! On Mon, 1 Jun 2015 17:58:51 +0200, Bernd Schmidt wrote: > This extends the previous vector-single support to also handle > worker-level predication. Thanks! > --- gcc/omp-low.c (revision 223974) > +++ gcc/omp-low.c (working copy) > +/* Allocate storage for OpenACC worker th

[gomp4] Worker-single predication

2015-06-01 Thread Bernd Schmidt
This extends the previous vector-single support to also handle worker-level predication. We can't use the shfl insn because workers will live across multiple warps, so we use a location in memory to broadcast the branch target. This also fixes the oversight where basic blocks inside a parallel