This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Is -ftree-vectorize enabled by default at any -On?
- From: Ira Rosen <IRAR at il dot ibm dot com>
- To: zuxy dot meng at gmail dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 15 Aug 2007 15:48:07 +0300
- Subject: Re: Is -ftree-vectorize enabled by default at any -On?
> Is -ftree-vectorize enabled by default at any -On?
No, it is not.
> Or it has to be turned on manually? Why?
Yes, with -ftree-vectorize, and -maltivec for PowerPC or -msse (or -msse2)
for x86.
For more information see
http://gcc.gnu.org/projects/tree-ssa/vectorization.html#using.
Ira
> --
> Zuxy