ivdep just substitutes all cross-iteration data analysis, nothing related to cost model. ICC does not cancel its cost model in case of #pragma ivdep
as for the safelen - OMP standart treats it as a limitation for the vector length. this means if no safelen is present an arbitrary vector length can be used. so I believe loop->force_vect is the only trigger to disregard the cost model On Tue, Nov 12, 2013 at 4:48 PM, Jakub Jelinek <ja...@redhat.com> wrote: > On Tue, Nov 12, 2013 at 04:45:17PM +0400, Sergey Ostanevich wrote: >> yes, ICC ignores cost analysis and follows user request on introduction of >> simd parallelism in the loop.they follow the omp parallel semantics. > > What about #pragma ivdep? I.e. if we decided to follow ICC here, should > we ignore cost model just for loop->safelen && loop->force_vect loops > (or only loop->force_vect), or also for any other loop->safelen loops? > > Jakub