libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / unroll-9.c
blob2d65ec3691dae215552025cfc02a965d013a8572
1 /* { dg-options "-O3 -fdump-tree-unrolljam -fno-math-errno" } */
3 void
4 f (float *restrict x, float y[100][100])
6 for (int j = 0; j < 100; ++j)
7 for (int i = 0; i < 100; ++i)
8 x[i] += __builtin_expf (y[j][i]);
11 /* The loop should be unrolled 2 times, without a tail loop. */
12 /* { dg-final { scan-tree-dump-times "__builtin_expf" 2 "unrolljam" } } */