summaryrefslogtreecommitdiff
path: root/gcc/doc/md.texi
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-19 15:21:16 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-19 15:21:16 +0000
commit86efc2bbbd615a3603a4fdd9fb5bb533afabfc97 (patch)
tree7047d065ce274eecb20f1a23076f437754025164 /gcc/doc/md.texi
parent1ea6a73cf7bb61c4a80ad96d66329038114d0d79 (diff)
downloadgcc-86efc2bbbd615a3603a4fdd9fb5bb533afabfc97.tar.gz
* doc/md.texi (Insn Canonicalizations): Correct canonicalization
of (plus (mult (neg B) C) A). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150937 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/md.texi')
-rw-r--r--gcc/doc/md.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 0e516b09fc0..69a23b693b4 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -5625,7 +5625,7 @@ In combinations of @code{neg}, @code{mult}, @code{plus}, and
@code{minus}, the @code{neg} operations (if any) will be moved inside
the operations as far as possible. For instance,
@code{(neg (mult A B))} is canonicalized as @code{(mult (neg A) B)}, but
-@code{(plus (mult (neg A) B) C)} is canonicalized as
+@code{(plus (mult (neg B) C) A)} is canonicalized as
@code{(minus A (mult B C))}.
@cindex @code{compare}, canonicalization of