summaryrefslogtreecommitdiff
path: root/gcc/doc/md.texi
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2001-10-25 18:25:08 +0000
committerJeff Law <law@gcc.gnu.org>2001-10-25 12:25:08 -0600
commit8feb4e2800a89088c50e7c31ba89cb501bbcd04c (patch)
treedd18c13d63fa12373a99eb06b0aa0920e61c9890 /gcc/doc/md.texi
parent37207ee73dce7e537637606d3b4e7fc9852522d3 (diff)
downloadgcc-8feb4e2800a89088c50e7c31ba89cb501bbcd04c.tar.gz
md.texi (movMM): Clarify semantics of storing into a non-paradoxical SUBREG.
* doc/md.texi (movMM): Clarify semantics of storing into a non-paradoxical SUBREG. From-SVN: r46494
Diffstat (limited to 'gcc/doc/md.texi')
-rw-r--r--gcc/doc/md.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 7a62eaf25c0..0d9bf915908 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -2024,7 +2024,9 @@ This instruction pattern moves data with that machine mode from operand
If operand 0 is a @code{subreg} with mode @var{m} of a register whose
own mode is wider than @var{m}, the effect of this instruction is
to store the specified value in the part of the register that corresponds
-to mode @var{m}. The effect on the rest of the register is undefined.
+to mode @var{m}. Bits outside of @var{m}, but which are within the
+same target word as the @code{subreg} are undefined. Bits which are
+outside the target word are left unchanged.
This class of patterns is special in several ways. First of all, each
of these names up to and including full word size @emph{must} be defined,