"Iyer, Balaji V" <balaji.v.i...@intel.com> writes:
>
> Yes, I really like this idea and that is kind of what I want. But, how do I 
> turn on vectorization on a function by function basis? I tried to set 
> flag_tree_vectorize=1 but that doesn't seem to do the trick.

AFAIK vectorization needs a range of passes to work, so it probably needs full
-O3 or something similar like you did. Apparently the optimize attribute has 
some
known problems, but I don't know if it would affect this case.

The explicit command line flag would just avoid the problem Richard
pointed out that you overwrite an explicit user choice.

-Andi
-- 
a...@linux.intel.com -- Speaking for myself only

Reply via email to