Auto-vectorization of SUM intrinsic in gfortran

Tim Prince n8tm@aol.com
Sat Jan 29 00:02:00 GMT 2011


On 1/28/2011 12:03 PM, Wilfredo Sifuentes wrote:
> Thank you Tim
> As you said with  -ffast-math option it works but others lines that
> seems to be parallelizable doesn´t e.g.
> Look at the two contiguous lines:
>
>          INGTAR(HI,1:NETP)= ZERO  !Compiller says : not vectorized:
> complicated access pattern.
>   
That looks like a consequence of a non-unity stride.  It's probably more 
efficient to use scalar code.
>> --
>> Tim Prince
>>
>>


-- 
Tim Prince



More information about the Gcc-help mailing list