[gomp4 03/14] nvptx: expand support for address spaces

2015-10-20 Thread Alexander Monakov
This allows to emit decls in 'shared' memory from the middle-end. * config/nvptx/nvptx.c (nvptx_legitimate_address_p): Adjust prototype. (nvptx_section_for_decl): If type of decl has a specific address space, return it. (nvptx_addr_space_from_address): Ditto.

Re: [gomp4 03/14] nvptx: expand support for address spaces

2015-10-20 Thread Bernd Schmidt
On 10/20/2015 11:04 PM, Alexander Monakov wrote: On Tue, 20 Oct 2015, Bernd Schmidt wrote: On 10/20/2015 08:34 PM, Alexander Monakov wrote: This allows to emit decls in 'shared' memory from the middle-end. * config/nvptx/nvptx.c (nvptx_legitimate_address_p): Adjust prototype.

Re: [gomp4 03/14] nvptx: expand support for address spaces

2015-10-20 Thread Bernd Schmidt
On 10/20/2015 08:34 PM, Alexander Monakov wrote: This allows to emit decls in 'shared' memory from the middle-end. * config/nvptx/nvptx.c (nvptx_legitimate_address_p): Adjust prototype. (nvptx_section_for_decl): If type of decl has a specific address space, return it.

Re: [gomp4 03/14] nvptx: expand support for address spaces

2015-10-20 Thread Alexander Monakov
On Tue, 20 Oct 2015, Bernd Schmidt wrote: > On 10/20/2015 08:34 PM, Alexander Monakov wrote: > > This allows to emit decls in 'shared' memory from the middle-end. > > > > * config/nvptx/nvptx.c (nvptx_legitimate_address_p): Adjust prototype. > > (nvptx_section_for_decl): If type of

Re: [gomp4 03/14] nvptx: expand support for address spaces

2015-10-20 Thread Bernd Schmidt
On 10/20/2015 11:41 PM, Cesar Philippidis wrote: Was it this one that you're referring to Bernd? I think this is the patch that introduces the "oacc ganglocal" attribute. It has bitrot significantly though. Yeah, the bits in nvptx.c are the ones I was referring to. Thanks! What are you

Re: [gomp4 03/14] nvptx: expand support for address spaces

2015-10-20 Thread Cesar Philippidis
On 10/20/2015 02:13 PM, Bernd Schmidt wrote: > On 10/20/2015 11:04 PM, Alexander Monakov wrote: >> On Tue, 20 Oct 2015, Bernd Schmidt wrote: >> >>> On 10/20/2015 08:34 PM, Alexander Monakov wrote: This allows to emit decls in 'shared' memory from the middle-end. *