[PATCH 1/8] nvptx -msoft-stack

2016-10-14 Thread Alexander Monakov
This patch implements '-msoft-stack' code generation variant for NVPTX. The goal is to avoid relying on '.local' memory space for placement of automatic data, and instead have an explicitely-maintained stack pointer (which can be set up to point to preallocated global memory space). This allows t

[PATCH 1/8] nvptx -msoft-stack

2016-06-09 Thread Alexander Monakov
This is a respin of the recently reviewed -msoft-stack patch that addresses review feedback and adds required libgcc changes. gcc/: * config/nvptx/nvptx-protos.h (nvptx_output_set_softstack): Declare. * config/nvptx/nvptx.c: (need_softstack_decl): New variable. (init_softst