[gomp-nvptx 8/9] libgomp: update gomp_nvptx_main for -mgomp

Jakub Jelinek jakub@redhat.com
Wed Dec 2 11:02:00 GMT 2015


On Tue, Dec 01, 2015 at 06:28:26PM +0300, Alexander Monakov wrote:
> +void
> +gomp_nvptx_main (void (*fn) (void *), void *fn_data)
> +{
> +  int tid, ntids;
> +  asm ("mov.u32 %0, %%tid.y;" : "=r" (tid));
> +  asm ("mov.u32 %0, %%ntid.y;" : "=r"(ntids));

Formatting (missing space before ( ).

	Jakub



More information about the Gcc-patches mailing list