summaryrefslogtreecommitdiffstats
path: root/gcc/md.texi
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-02 00:17:02 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-02 00:17:02 +0000
commit87c48762b438a4df0352e13b88041fde8580227c (patch)
tree9e4dedd5ab1efc9894d6ebb75ca8ea0da97dc5c5 /gcc/md.texi
parent034b484a8a78d27b4305e0bfd55987dd1eed1a1d (diff)
downloadppe42-gcc-87c48762b438a4df0352e13b88041fde8580227c.tar.gz
ppe42-gcc-87c48762b438a4df0352e13b88041fde8580227c.zip
Improve movstrXX documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17587 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/md.texi')
-rw-r--r--gcc/md.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/md.texi b/gcc/md.texi
index 7deeb3e077b..119ceda3c9b 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;
OpenPOWER on IntegriCloud