This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: backport nvptx patch to gcc-7-branch


On Tue, Jul 18, 2017 at 02:37:38PM +0200, Tom de Vries wrote:
> I'd like to backport this nvptx patch to the gcc-7-branch.
> 
> The patch doesn't trivially fit into the category of regression or
> documentation fix.
> 
> Without this patch, when building an nvptx offloading compiler and running
> the libgomp testsuite for the gcc-7-branch, the GPU hangs, and I've had a
> report from a colleague who experienced system crashes because of it.
> 
> However, in principle gcc is not doing anything wrong: the generated code is
> according to the ptx spec. It's just that the patch makes it less likely to
> run into a ptx JIT bug.
> 
> Then again, it's an nvptx patch, neither a primary nor secondary target.
> 
> I'll commit the backport some time this week, unless there are objections.

Ok, thanks.

> > 0001-Insert-diverging-jump-alap-in-nvptx_single.patch
> > 
> > 
> > Insert diverging jump alap in nvptx_single
> > 
> > 2017-07-17  Tom de Vries  <tom@codesourcery.com>
> > 
> > 	PR target/81069
> > 	* config/nvptx/nvptx.c (nvptx_single): Insert diverging branch as late
> > 	as possible.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]