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... r~