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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gfortran.dg/] [vect/] [vect-1.f90] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
! { dg-do compile }
2
! { dg-require-effective-target vect_float }
3
 
4
DIMENSION A(1000000), B(1000000), C(1000000)
5
READ*, X, Y
6
A = LOG(X); B = LOG(Y); C = A + B
7
PRINT*, C(500000)
8
END
9
 
10
! { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } }
11
! { dg-final { cleanup-tree-dump "vect" } }

powered by: WebSVN 2.1.0

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