diff options
author | Ian Lance Taylor <iant@google.com> | 2009-08-19 15:21:16 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-08-19 15:21:16 +0000 |
commit | 9302a061421dfbd63626da0559bc65a3c2f87ce4 (patch) | |
tree | 7047d065ce274eecb20f1a23076f437754025164 /gcc | |
parent | 9600efe1a6c42b8acf7449561760c36968155f83 (diff) | |
download | gcc-9302a061421dfbd63626da0559bc65a3c2f87ce4.zip gcc-9302a061421dfbd63626da0559bc65a3c2f87ce4.tar.gz gcc-9302a061421dfbd63626da0559bc65a3c2f87ce4.tar.bz2 |
md.texi (Insn Canonicalizations): Correct canonicalization of (plus (mult (neg B) C) A).
* doc/md.texi (Insn Canonicalizations): Correct canonicalization
of (plus (mult (neg B) C) A).
From-SVN: r150937
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/doc/md.texi | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 855e4e5..0831f4c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-08-19 Ian Lance Taylor <iant@google.com> + + * doc/md.texi (Insn Canonicalizations): Correct canonicalization + of (plus (mult (neg B) C) A). + 2009-08-18 Michael Matz <matz@suse.de> * omp-low.c (optimize_omp_library_calls): Use types_compatible_p @@ -12160,7 +12165,7 @@ (output_init_element): Issue -Wc++-compat warning if needed when initializing a bitfield with enum type. * c-parser.c (c_parser_expression): Set original_type to - original_type of right hand operand of comman operator. + original_type of right hand operand of comma operator. 2009-04-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 0e516b0..69a23b6 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 |