1 /* { dg-options "-O3 -fdump-tree-unrolljam -fno-math-errno" } */
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" } } */