OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [vect/] [pr19049.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-require-effective-target vect_float }
3
 
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
8
 
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
12
      do 1 nl = 1,2*ntimes
13
      do 10 i = 2,n,2
14
         a(i) = a(i-1) + b(i)
15
  10  continue
16
      call dummy(ld,n,a,b,c,d,e,aa,bb,cc,1.)
17
  1   continue
18
      return
19
      end
20
 
21
! { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } }
22
! { dg-final { scan-tree-dump-times "complicated access pattern" 1 "vect" { xfail vect_multiple_sizes } } }
23
! { dg-final { scan-tree-dump-times "complicated access pattern" 2 "vect" { target vect_multiple_sizes } } }
24
! { dg-final { cleanup-tree-dump "vect" } }
25
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.