1 /* { dg-require-effective-target size32plus } */
2 /* { dg-require-effective-target run_expensive_tests } PR testsuite/48283 */
3 /* { dg-timeout-factor 4.0 } */
13 int A
[M
][M
][M
], B
[M
][M
], C
[M
][M
];
15 static int __attribute__((noinline
))
20 /* These loops contain too few iterations to be blocked. */
21 for (i
= 0; i
< 24; i
++)
22 for (j
= 0; j
< 24; j
++)
23 for (k
= 0; k
< 24; k
++)
24 A
[i
][j
][k
] = B
[i
][k
] * C
[k
][j
];
26 /* These loops should still be loop blocked. */
27 for (i
= 0; i
< M
; i
++)
28 for (j
= 0; j
< M
; j
++)
29 for (k
= 0; k
< M
; k
++)
30 A
[i
][j
][k
] = B
[i
][k
] * C
[k
][j
];
32 return A
[0][0][0] + A
[M
-1][M
-1][M
-1];
42 for (i
= 0; i
< M
; i
++)
43 for (j
= 0; j
< M
; j
++)
52 fprintf (stderr
, "res = %d \n", res
);
61 /* { dg-final { scan-tree-dump-times "tiled by" 3 "graphite" } } */