>-----Original Message----- >From: Andi Kleen [mailto:a...@firstfloor.org] >Sent: Friday, September 07, 2012 1:05 PM >To: Iyer, Balaji V >Cc: Richard Guenther; gcc-patches@gcc.gnu.org; Gabriel Dos Reis; Aldy >Hernandez (al...@redhat.com); Jeff Law; r...@redhat.com >Subject: Re: [PATCH] Merging Cilk Plus into Trunk (Patch 1 of approximately 22) > >"Iyer, Balaji V" <balaji.v.i...@intel.com> writes: >>> >>>The answer is that you should not enable the vectorizer. >> >> OK. I will fix that. > >It still seems like useful functionality. Otherwise you have to compile the >whole >program with -O3, just to vectoriz a few marked functions or add additional >annotations for all of them. How about a separate command line flag to auto >enable vectorization (or -O3) for functions with Cilk vector annotations?
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. > >-Andi > >-- >a...@linux.intel.com -- Speaking for myself only