AARCH64: Add Qualcomnm oryon-1 core
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / loop-interchange-11.c
blob413b81e0f21ef7b2051d044048a795e48a9f55c0
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -floop-interchange -fdump-tree-linterchange-details" } */
3 /* { dg-require-effective-target size20plus } */
4 /* { dg-skip-if "too big data segment" { visium-*-* } } */
6 #define M 256
7 int a[M][M], b[M][M];
9 void
10 simple_reduc_1 (int n, int *p)
12 for (int j = 0; j < n; j++)
14 int sum = p[j];
15 for (int i = 0; i < n; i++)
17 sum = sum + b[i][j];
18 b[i][j] += a[i][j];
21 p[j] = sum;
24 /* { dg-final { scan-tree-dump-not "Loop_pair<outer:., inner:.> is interchanged" "linterchange" } } */