Refactor omp_reduction_init: omp_reduction_init_op (was: [gomp4] ptx reduction simplification)

2015-09-23 Thread Thomas Schwinge
Hi! On Tue, 22 Sep 2015 11:11:59 -0400, Nathan Sidwell wrote: > On 09/22/15 11:10, Thomas Schwinge wrote: > > On Fri, 18 Sep 2015 20:05:48 -0400, Nathan Sidwell wrote: > >> I've committed this patch to rework and simplify [...] > >> the reduction

Re: [gomp4] ptx reduction simplification

2015-09-22 Thread Thomas Schwinge
Hi! On Fri, 18 Sep 2015 20:05:48 -0400, Nathan Sidwell wrote: > I've committed this patch to rework and simplify [...] > the reduction lowering hooks. > > The current implementation [...] > [was] overcomplicated in a number of ways. > * omp-low.h (omp_reduction_init_op):

Re: [gomp4] ptx reduction simplification

2015-09-22 Thread Nathan Sidwell
On 09/22/15 11:10, Thomas Schwinge wrote: Hi! On Fri, 18 Sep 2015 20:05:48 -0400, Nathan Sidwell wrote: I've committed this patch to rework and simplify [...] the reduction lowering hooks. The current implementation [...] [was] overcomplicated in a number of ways.

[gomp4] ptx reduction simplification

2015-09-18 Thread Nathan Sidwell
I've committed this patch to rework and simplify the ptx backend's implementation of the reduction lowering hooks. The current implementation had a number of bugs (multiple gimplify_push_contexts, for instance), and overcomplicated in a number of ways. Most of the changes are