[nvptx] Add memory_barrier insn

Programming / Compilers / GCC - vries [138bc75d-0d04-0410-961f-82ee72b054a4] - 9 April 2018 13:22 EDT

2018-04-09 Tom de Vries

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.

e163ceb59ea [nvptx] Add memory_barrier insn
gcc/ChangeLog | 7 +++++++
gcc/config/nvptx/nvptx.md | 22 ++++++++++++++++++++++
2 files changed, 29 insertions(+)

Upstream: gcc.gnu.org


  • Share