| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-Ofast -mstrict-align -mlasx" } */ |
| 3 |
/* { dg-final { scan-assembler-not "vfadd.s" } } */ |
| 4 |
|
| 5 |
void |
| 6 |
foo (float *restrict x, float *restrict y) |
| 7 |
{ |
| 8 |
x[0] = x[0] + y[0]; |
| 9 |
x[1] = x[1] + y[1]; |
| 10 |
x[2] = x[2] + y[2]; |
| 11 |
x[3] = x[3] + y[3]; |
| 12 |
} |