[nvptx] Add memory_barrier insn
authorTom de Vries <tom@codesourcery.com>
Mon, 9 Apr 2018 13:22:00 +0000 (13:22 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 9 Apr 2018 13:22:00 +0000 (13:22 +0000)
commitf04fd9038ee58325748fea2f085d43eddcdb37ad
tree6ae3600e367946c582673b0bde38678b21a36855
parent6abce7391ae63fd2808aa471aa9dd2679eb00496
[nvptx] Add memory_barrier insn

2018-04-09  Tom de Vries  <tom@codesourcery.com>

PR target/84041
* config/nvptx/nvptx.md (define_c_enum "unspecv"): Add UNSPECV_MEMBAR.
(define_expand "*memory_barrier"): New define_expand.
(define_insn "memory_barrier"): New insn.

From-SVN: r259233
gcc/ChangeLog
gcc/config/nvptx/nvptx.md