>-----Original Message----- >From: Richard Henderson [mailto:r...@redhat.com] >Sent: Monday, September 10, 2012 12:01 PM >To: Iyer, Balaji V >Cc: Jakub Jelinek; Andi Kleen; Richard Guenther; gcc-patches@gcc.gnu.org; >Gabriel Dos Reis; Aldy Hernandez (al...@redhat.com); Jeff Law >Subject: Re: [PATCH] Merging Cilk Plus into Trunk (Patch 1 of approximately 22) > >On 09/07/2012 02:00 PM, Iyer, Balaji V wrote: >> So, if I am understanding this correctly, there is no way to have the >> vectorization turned on/off on a function by function basis? I don't >> mind if it is turned off for -O0, but would like it be turned on/off >> for anything > -O1. > >There's probably no reason that we can't enable vectorization on a loop by loop >basis. Given that we're keeping a bit attached to the loop itself for #pragma >simd >anyway. > >This ought not be terribly difficult to arrange...
Can you please help me get a start on how to get can be done? From what I understand (please correct me if I am wrong), this requires rearranging and duplicating a lot of passes and can potentially open up to a lot of bugs. > > >r~