gcc/
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 30 Jun 2015 20:56:14 +0000 (20:56 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 30 Jun 2015 20:56:14 +0000 (20:56 +0000)
commitccf5bbdd40aaa0258eb9671cd11c0bab4a16236e
treed7fd93d338a6d1e39021a1d01ceb4e49af7e31c8
parente86a994681b0cad81ea13d29d9ab5f65d40ccc63
gcc/
* defaults.h (HAVE_mem_thread_fence, gen_mem_thread_fence)
(HAVE_memory_barrier, gen_memory_barrier, HAVE_mem_signal_fence)
(gen_mem_signal_fence): Delete.
* target-insns.def (mem_signal_fence, mem_thread_fence)
(memory_barrier): New targetm instruction patterns.
* optabs.c (expand_mem_thread_fence): Use them instead of HAVE_*/gen_*
interface.
(expand_mem_signal_fence): Likewise.

From-SVN: r225209
gcc/ChangeLog
gcc/defaults.h
gcc/optabs.c
gcc/target-insns.def