]> git.ipfire.org Git - thirdparty/gcc.git/commit
[nvptx] Use define_insn parametrization
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 2019 09:19:41 +0000 (09:19 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 2019 09:19:41 +0000 (09:19 +0000)
commit8d1fb66da633ffce63b78ccfe4580bdb6908895d
treebba704dd7341697e78c26f189bcda9de11032896
parentda2e726b3cc6f483a8948f44addb47f5481b1fe9
[nvptx] Use define_insn parametrization

Parametrize some define_insn to simplify code in define_expands generating
those insns.

Build and reg-tested on x86_64 with nvptx accelerator.

2019-06-18  Tom de Vries  <tdevries@suse.de>

* config/nvptx/nvptx-protos.h (gen_set_softstack_insn): Remove.
* config/nvptx/nvptx.c (gen_set_softstack_insn): Remove.
* config/nvptx/nvptx.md (define_insn "set_softstack_<mode>"): Rename to ...
(define_insn "@set_softstack_<mode>"): ... this.
(define_insn "omp_simt_enter_<mode>"): Rename to ...
(define_insn "@omp_simt_enter_<mode>"): ... this.
(define_insn "omp_simt_exit_<mode>"): Rename to ...
(define_insn "@omp_simt_exit_<mode>"): ... this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272413 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nvptx/nvptx-protos.h
gcc/config/nvptx/nvptx.c
gcc/config/nvptx/nvptx.md