This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] md.texi: Fix the description of addmodecc.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 08 Jul 2003 02:44:09 -0400 (EDT)
- Subject: [patch] md.texi: Fix the description of addmodecc.
Hi,
Committed as obvious to mainline only. Not applicable to 3.3.
Kazu Hirata
2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
* doc/md.texi: Fix the description of addmodecc.
Index: md.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/md.texi,v
retrieving revision 1.76
diff -u -r1.76 md.texi
--- md.texi 23 Jun 2003 16:01:41 -0000 1.76
+++ md.texi 8 Jul 2003 06:40:09 -0000
@@ -2923,11 +2923,11 @@
define these patterns.
@cindex @code{add@var{mode}cc} instruction pattern
-@item @samp{mov@var{mode}cc}
+@item @samp{add@var{mode}cc}
Similar to @samp{mov@var{mode}cc} but for conditional addition. Conditionally
move operand 2 or (operands 2 + operand 3) into operand 0 according to the
comparison in operand 1. If the comparison is true, operand 2 is moved into
-operand 0, otherwise operand 3 is moved.
+operand 0, otherwise (operand 2 + operand 3) is moved.
@cindex @code{s@var{cond}} instruction pattern
@item @samp{s@var{cond}}