This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, doc] Add -ftree-vectorize to the list of optimizations turned on under -O3.



"Richard Guenther" <richard.guenther@gmail.com> wrote on 19/03/2008
11:53:10:


> This is ok if you also expand
>
> @item -ftree-vectorize
> @opindex ftree-vectorize
> Perform loop vectorization on trees.
>
> to say "This is enabled by default at @option{-O3}."
>
> Richard.
>

This is what I committed:

Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi     (revision 133362)
+++ doc/invoke.texi     (working copy)
@@ -5164,8 +5164,8 @@
 @opindex O3
 Optimize yet more.  @option{-O3} turns on all optimizations specified by:
 @option{-O2} and also turns on the @option{-finline-functions},
-@option{-funswitch-loops}, @option{-fpredictive-commoning} and,
-@option{-fgcse-after-reload} options.
+@option{-funswitch-loops}, @option{-fpredictive-commoning},
+@option{-fgcse-after-reload} and @option{-ftree-vectorize} options.

 @item -O0
 @opindex O0
@@ -5949,7 +5949,8 @@

 @item -ftree-vectorize
 @opindex ftree-vectorize
-Perform loop vectorization on trees.
+Perform loop vectorization on trees. This flag is enabled by default at
+@option{-O3}.

 @item -ftree-vect-loop-version
 @opindex ftree-vect-loop-version
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 133362)
+++ ChangeLog   (working copy)
@@ -1,3 +1,9 @@
+2008-03-20  Ira Rosen  <irar@il.ibm.com>
+
+       * doc/invoke.texi (-O3): Add -ftree-vectorize to the list of
+       optimizations turned on under -O3.
+       (ftree-vectorize): Add that the flag is turned on with -O3.
+
 2008-03-20  Ben Elliston  <bje@au.ibm.com>

        * regmove.c (try_auto_increment): Fix spelling error in comment.


Thanks,
Ira


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]