how to disable vectorization
Tim Prince
n8tm@aol.com
Sun Nov 15 12:34:00 GMT 2015
On 11/15/2015 2:44 AM, Richard Biener wrote:
> On November 14, 2015 10:33:27 PM GMT+01:00, Tim Prince <tprince818.tp@gmail.com> wrote:
>> Now that gfortran 6.0 has become aggressive enough on vectorization to
>> reduce performance in some cases, is there an equivalent to:
>> gcc (by function): __attribute__((optimize("no-tree-vectorize")))
>> or ifort (by DO loop) !dir$ novector ?
> I'd be interested in such cases. Can you file a bugreport please?
>
> Richard.
>
>
The need for pragma to prevent vectorization (with ifdef guard to allow
it for Intel Xeon Phi) has been more pervasive in the past with Intel
compilers. Recent Intel Fortran has improved its cost model so as to
make the right decision more consistently, but Intel C++ requires it inn
the same cases as the recent g++/gfortran update. I will first work to
reconcile my test suite with the omp simd safelen(1) then I will post on
bugzilla.
Thanks,
--
Tim Prince
More information about the Fortran
mailing list