public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch, doc] Add -ftree-vectorize to the list of optimizations turned on  under -O3.
@ 2008-03-19  9:20 Ira Rosen
  2008-03-19 10:05 ` Richard Guenther
  0 siblings, 1 reply; 3+ messages in thread
From: Ira Rosen @ 2008-03-19  9:20 UTC (permalink / raw)
  To: gcc-patches; +Cc: Bradley Lucier


Hi,

This is a fix for:

Bradley Lucier <lucier@math.purdue.edu> wrote on 19/03/2008 06:01:19:

> The web page
>
> http://gcc.gnu.org/gcc-4.3/changes.html
>
> states that "The -ftree-vectorize option is now on by default under -
> O3.", but on
>
> http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Optimize-Options.html
>
> -ftree-vectorize is not listed as one of the options enabled by -O3.

O.K. for 4.3 and 4.4?

Thanks,
Ira

ChangeLog:.

      * doc/invoke.texi (-O3): Add -ftree-vectorize to the list of
      optimizations turned on under -O3.

Index: invoke.texi
===================================================================
--- invoke.texi (revision 133335)
+++ invoke.texi (working copy)
@@ -5224,8 +5224,8 @@ invoking @option{-O2} on programs that u
 @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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch, doc] Add -ftree-vectorize to the list of optimizations turned on under -O3.
  2008-03-19  9:20 [patch, doc] Add -ftree-vectorize to the list of optimizations turned on under -O3 Ira Rosen
@ 2008-03-19 10:05 ` Richard Guenther
  2008-03-20  9:22   ` Ira Rosen
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Guenther @ 2008-03-19 10:05 UTC (permalink / raw)
  To: Ira Rosen; +Cc: gcc-patches, Bradley Lucier

On Wed, Mar 19, 2008 at 8:51 AM, Ira Rosen <IRAR@il.ibm.com> wrote:
>
>  Hi,
>
>  This is a fix for:
>
>  Bradley Lucier <lucier@math.purdue.edu> wrote on 19/03/2008 06:01:19:
>
>  > The web page
>  >
>  > http://gcc.gnu.org/gcc-4.3/changes.html
>  >
>  > states that "The -ftree-vectorize option is now on by default under -
>  > O3.", but on
>  >
>  > http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Optimize-Options.html
>  >
>  > -ftree-vectorize is not listed as one of the options enabled by -O3.
>
>  O.K. for 4.3 and 4.4?

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.

>  Thanks,
>  Ira
>
>  ChangeLog:.
>
>       * doc/invoke.texi (-O3): Add -ftree-vectorize to the list of
>       optimizations turned on under -O3.
>
>  Index: invoke.texi
>  ===================================================================
>  --- invoke.texi (revision 133335)
>  +++ invoke.texi (working copy)
>  @@ -5224,8 +5224,8 @@ invoking @option{-O2} on programs that u
>   @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
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch, doc] Add -ftree-vectorize to the list of optimizations turned  on under -O3.
  2008-03-19 10:05 ` Richard Guenther
@ 2008-03-20  9:22   ` Ira Rosen
  0 siblings, 0 replies; 3+ messages in thread
From: Ira Rosen @ 2008-03-20  9:22 UTC (permalink / raw)
  To: Richard Guenther; +Cc: gcc-patches, Bradley Lucier



"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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-20  7:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-19  9:20 [patch, doc] Add -ftree-vectorize to the list of optimizations turned on under -O3 Ira Rosen
2008-03-19 10:05 ` Richard Guenther
2008-03-20  9:22   ` Ira Rosen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).