| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O3" } */ |
| 3 |
|
| 4 |
/* Check that simple loop is not fully unrolled. */ |
| 5 |
|
| 6 |
void |
| 7 |
fully_peel_me (double *x) |
| 8 |
{ |
| 9 |
for (int i = 0; i < 5; i++) |
| 10 |
x[i] = x[i] * 2; |
| 11 |
} |
| 12 |
|
| 13 |
/* { dg-final { scan-assembler-times {\tb[.a-z]+\t} 1 } } */ |