2 ! { dg-require-effective-target vect_float }
4 subroutine s111 (ntimes
,ld
,n
,ctime
,dtime
,a
,b
,c
,d
,e
,aa
,bb
,cc
)
5 ! linear dependence testing
6 ! no dependence - vectorizable
7 ! but not consecutive access
9 integer ntimes
, ld
, n
, i
, nl
10 real a(n
), b(n
), c(n
), d(n
), e(n
), aa(ld
,n
), bb(ld
,n
), cc(ld
,n
)
11 real t1
, t2
, second
, chksum
, ctime
, dtime
, cs1d
16 call dummy(ld
,n
,a
,b
,c
,d
,e
,aa
,bb
,cc
,1.)
21 ! { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } }
22 ! { dg-final { scan-tree-dump-times "complicated access pattern" 1 "vect" } }
23 ! { dg-final { cleanup-tree-dump "vect" } }