target-insns.def: Add memory_blockage.
authorUros Bizjak <uros@gcc.gnu.org>
Sat, 14 Oct 2017 09:10:45 +0000 (11:10 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 14 Oct 2017 09:10:45 +0000 (11:10 +0200)
commit51ced7e4f45051399a2b7aa59b59f9d655be99a7
tree85897537203413654d7240dc2f45cfdf6836419b
parent5c20e429775e6b72b42a3c7b3c3be77f535d4bb6
target-insns.def: Add memory_blockage.

* target-insns.def: Add memory_blockage.
* optabs.c (expand_memory_blockage): New function.
(expand_asm_memory_barrier): Rename ...
(expand_asm_memory_blockage): ... to this.
(expand_mem_thread_fence): Call expand_memory_blockage
instead of expand_asm_memory_barrier.
(expand_mem_singnal_fence): Ditto.
(expand_atomic_load): Ditto.
(expand_atomic_store): Ditto.
* doc/md.texi (Standard Pattern Names For Generation):
Document memory_blockage instruction pattern.

From-SVN: r253750
gcc/ChangeLog
gcc/doc/md.texi
gcc/optabs.c
gcc/target-insns.def