pa.md (memory_barrier): Revise to use ldcw barriers.
authorJohn David Anglin <danglin@gcc.gnu.org>
Fri, 8 Nov 2019 00:27:06 +0000 (00:27 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 8 Nov 2019 00:27:06 +0000 (00:27 +0000)
commit6a9c4224e411c625e326927ebf75e27b8fe2d26b
tree79c457b7370f75030fe8b6df6056141e3f50d378
parentfe335098d55e9efd933ec8f56b07752048454092
pa.md (memory_barrier): Revise to use ldcw barriers.

* config/pa/pa.md (memory_barrier): Revise to use ldcw barriers.
Enhance comment.
(memory_barrier_coherent, memory_barrier_64, memory_barrier_32): New
insn patterns using ldcw instruction.
(memory_barrier): Remove insn pattern using sync instruction.
* config/pa/pa.opt (coherent-ldcw): New option.
(ordered): New option.

From-SVN: r277941
gcc/ChangeLog
gcc/config/pa/pa.md
gcc/config/pa/pa.opt