how to disable vectorization

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Nov 14 22:05:00 GMT 2015


On Sat, Nov 14, 2015 at 04:33:27PM -0500, Tim Prince 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 ?

No.

There is -fno-tree-vectorize.

-- 
Steve



More information about the Fortran mailing list