This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] document blockage pattern
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 28 Jan 2007 14:27:55 -0500
- Subject: [PATCH, committed] document blockage pattern
Steven Bosscher noticed that the "blockage" pattern was not
documented. This patch adds it to the standard named patterns node.
David
* doc/md.texi (Standard Pattern Names): Document blockage pattern.
Index: md.texi
===================================================================
--- md.texi (revision 121266)
+++ md.texi (working copy)
@@ -4704,6 +4704,13 @@
Targets that do not support write prefetches or locality hints can ignore
the values of operands 1 and 2.
+@cindex @code{blockage} instruction pattern
+@item @samp{blockage}
+
+This pattern defines a pseudo insn that prevents the instruction
+scheduler from moving instructions across the boundary defined by the
+blockage insn. Normally an UNSPEC_VOLATILE pattern.
+
@cindex @code{memory_barrier} instruction pattern
@item @samp{memory_barrier}