This is the mail archive of the gcc@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: -O3 and -ftree-vectorize


The invoke.texi is correct. -ftree-vectorize is now simply a
short-hand to enable both loop and slp vectorizer.  I will fix the the
help message appropriately.

David

On Thu, Feb 6, 2014 at 11:20 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Thu, Feb 6, 2014 at 8:01 PM, Xinliang David Li <davidxl@google.com> wrote:
>> It is a bug in the help message dump. You can see that
>> ftree-loop-vectorize ftree-slp-vectorize are indeed enabled.
>
> I see. It would be also nice to fix -O3 entry in doc/invoke.texi that
> currently reads:
>
> --cut here--
> @item -O3
> @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},
> @option{-fgcse-after-reload}, @option{-ftree-loop-vectorize},
> @option{-ftree-slp-vectorize}, @option{-fvect-cost-model},
> @option{-ftree-partial-pre} and @option{-fipa-cp-clone} options.
> --cut here--
>
> Uros.


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