aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-02-01 17:17:02 -0700
committerJeff Law <law@gcc.gnu.org>1998-02-01 17:17:02 -0700
commit8c01d9b6f7925f4e8f81283f9ac4cb03415a58a0 (patch)
tree9e4dedd5ab1efc9894d6ebb75ca8ea0da97dc5c5
parenta703fb388ba235e449aad17c618d50fe48a03812 (diff)
downloadgcc-8c01d9b6f7925f4e8f81283f9ac4cb03415a58a0.zip
gcc-8c01d9b6f7925f4e8f81283f9ac4cb03415a58a0.tar.gz
gcc-8c01d9b6f7925f4e8f81283f9ac4cb03415a58a0.tar.bz2
Improve movstrXX documentation.
From-SVN: r17587
-rw-r--r--gcc/md.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/md.texi b/gcc/md.texi
index 7deeb3e..119ceda 100644
--- a/gcc/md.texi
+++ b/gcc/md.texi
@@ -1956,6 +1956,12 @@ destination, in the form of a @code{const_int} rtx. Thus, if the
compiler knows that both source and destination are word-aligned,
it may provide the value 4 for this operand.
+Descriptions of multiple @code{movstr@var{m}} patterns can only be
+beneficial if the patterns for smaller modes have less restrictions
+on their first, second and fourth operands. Note that the mode @var{m}
+in @code{movstr@var{m}} does not impose any restriction on the mode of
+individually moved data units in the block.
+
These patterns need not give special consideration to the possibility
that the source and destination strings might overlap.
@@ -1970,6 +1976,8 @@ of a @code{const_int} rtx. Thus, if the compiler knows that the
destination is word-aligned, it may provide the value 4 for this
operand.
+The use for multiple @code{clrstr@var{m}} is as for @code{movstr@var{m}}.
+
@cindex @code{cmpstr@var{m}} instruction pattern
@item @samp{cmpstr@var{m}}
Block compare instruction, with five operands. Operand 0 is the output;