Re: gomp-nvptx branch - middle-end changes

2016-11-22 Thread Jakub Jelinek
On Tue, Nov 22, 2016 at 08:25:45PM +0300, Alexander Monakov wrote: > On Fri, 11 Nov 2016, Jakub Jelinek wrote: > > Ok for trunk, once the needed corresponding config/nvptx bits are committed, > > with one nit below that needs immediate action and the rest can be resolved > > incrementally. I'd

Re: gomp-nvptx branch - middle-end changes

2016-11-22 Thread Alexander Monakov
On Fri, 11 Nov 2016, Jakub Jelinek wrote: > Ok for trunk, once the needed corresponding config/nvptx bits are committed, > with one nit below that needs immediate action and the rest can be resolved > incrementally. I'd like to check in afterwards the attached patch, at least > for now, so that

Re: gomp-nvptx branch - middle-end changes

2016-11-11 Thread Jakub Jelinek
On Fri, Nov 11, 2016 at 12:28:16PM +0300, Alexander Monakov wrote: > On Fri, 11 Nov 2016, Jakub Jelinek wrote: > > > On Fri, Nov 11, 2016 at 11:52:58AM +0300, Alexander Monakov wrote: > > > On Fri, 11 Nov 2016, Jakub Jelinek wrote: > > > [...] > > > > the intended outlining of SIMT regions for

Re: gomp-nvptx branch - middle-end changes

2016-11-11 Thread Alexander Monakov
On Fri, 11 Nov 2016, Jakub Jelinek wrote: > On Fri, Nov 11, 2016 at 11:52:58AM +0300, Alexander Monakov wrote: > > On Fri, 11 Nov 2016, Jakub Jelinek wrote: > > [...] > > > the intended outlining of SIMT regions for PTX offloading done (IMHO the > > > best place to do that is in omp expansion,

Re: gomp-nvptx branch - middle-end changes

2016-11-11 Thread Jakub Jelinek
On Fri, Nov 11, 2016 at 11:52:58AM +0300, Alexander Monakov wrote: > On Fri, 11 Nov 2016, Jakub Jelinek wrote: > [...] > > the intended outlining of SIMT regions for PTX offloading done (IMHO the > > best place to do that is in omp expansion, not gimplification) > > Sorry, I couldn't find a good

Re: gomp-nvptx branch - middle-end changes

2016-11-11 Thread Alexander Monakov
On Fri, 11 Nov 2016, Jakub Jelinek wrote: [...] > the intended outlining of SIMT regions for PTX offloading done (IMHO the > best place to do that is in omp expansion, not gimplification) Sorry, I couldn't find a good way to implement that during omp expansion. The reason I went for

Re: gomp-nvptx branch - middle-end changes

2016-11-11 Thread Jakub Jelinek
On Thu, Nov 10, 2016 at 08:12:27PM +0300, Alexander Monakov wrote: > gcc/ > * internal-fn.c (expand_GOMP_SIMT_LANE): New. > (expand_GOMP_SIMT_VF): New. > (expand_GOMP_SIMT_LAST_LANE): New. > (expand_GOMP_SIMT_ORDERED_PRED): New. > (expand_GOMP_SIMT_VOTE_ANY): New. >

Re: gomp-nvptx branch - middle-end changes

2016-11-10 Thread Alexander Monakov
gcc/ * internal-fn.c (expand_GOMP_SIMT_LANE): New. (expand_GOMP_SIMT_VF): New. (expand_GOMP_SIMT_LAST_LANE): New. (expand_GOMP_SIMT_ORDERED_PRED): New. (expand_GOMP_SIMT_VOTE_ANY): New. (expand_GOMP_SIMT_XCHG_BFLY): New.