Debian Codegraph @

gcc/testsuite/gfortran.dg/graphite/block-2.f

raw
1 ! { dg-do compile }
2 ! { dg-additional-options "-std=legacy" }
3 SUBROUTINE MATRIX_MUL_UNROLLED (A, B, C, L, M, N)
4 DIMENSION A(L,M), B(M,N), C(L,N)
5
6 DO 100 K = 1, N
7 DO 100 I = 1, L
8 C(I,K) = 0.
9 100 CONTINUE
10 DO 110 J = 1, M, 4
11 DO 110 K = 1, N
12 DO 110 I = 1, L
13 C(I,K) = C(I,K) + A(I,J) * B(J,K)
14 $ + A(I,J+1) * B(J+1,K) + A(I,J+2) * B(J+2,K)
15 $ + A(I,J+3) * B(J+3,K)
16 110 CONTINUE
17
18 RETURN
19 END
20
21 ! Disabled for now as it requires delinearization.
22 ! { dg-final { scan-tree-dump-times "number of SCoPs: 2" 1 "graphite" { xfail *-*-* } } }