This is the mail archive of the gcc-help@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: 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



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