Is -ftree-vectorize enabled by default at any -On?

Ira Rosen IRAR@il.ibm.com
Wed Aug 15 12:48:00 GMT 2007


> 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




More information about the Gcc-help mailing list