r267258 - in /trunk/gcc: ChangeLog config/nvptx...

vries@gcc.gnu.org vries@gcc.gnu.org
Wed Dec 19 10:17:00 GMT 2018


Author: vries
Date: Wed Dec 19 10:17:01 2018
New Revision: 267258

URL: https://gcc.gnu.org/viewcvs?rev=267258&root=gcc&view=rev
Log:
[nvptx] Generalize bar.sync instruction

Allow the logical barrier operand of nvptx_barsync to be a register, and add a
thread count operand.

Build and reg-tested on x86_64 with nvptx accelerator.

2018-12-19  Tom de Vries  <tdevries@suse.de>

	* config/nvptx/nvptx.md (nvptx_barsync): Add and handle operand.
	* config/nvptx/nvptx.c (nvptx_wsync): Update call to gen_nvptx_barsync.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/nvptx/nvptx.c
    trunk/gcc/config/nvptx/nvptx.md



More information about the Gcc-cvs mailing list