This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: vectorizer default in 4.3.0 changes document missing
- From: Ira Rosen <IRAR at il dot ibm dot com>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 11 Mar 2008 08:42:29 +0200
- Subject: Re: vectorizer default in 4.3.0 changes document missing
Hi Andi,
gcc-owner@gcc.gnu.org wrote on 10/03/2008 18:32:35:
>
> I noticed the gcc 4.3.0 changes document on the website does not
> mention that the vectorizer is now on by default in -O3.
> Perhaps that should be added? It seems like an important noteworthy
> change to me.
Thanks for pointing this out. The vectorizer's website was not update for a
while. I am going to do that.
>
> I'm not sure it applies to all architectures, but it applies to
> x86 at least.
Vectorization (-ftree-vectorize) is on by default in -O3 on all platforms,
but many architectures require additional flags to actually apply it, like
-maltivec on PowerPC.
Thanks,
Ira
>
> -Andi