]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/unroll-9.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / unroll-9.c
1 /* { dg-options "-O3 -fdump-tree-unrolljam -fno-math-errno" } */
2
3 void
4 f (float *restrict x, float y[100][100])
5 {
6 for (int j = 0; j < 100; ++j)
7 for (int i = 0; i < 100; ++i)
8 x[i] += __builtin_expf (y[j][i]);
9 }
10
11 /* The loop should be unrolled 2 times, without a tail loop. */
12 /* { dg-final { scan-tree-dump-times "__builtin_expf" 2 "unrolljam" } } */