| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -ffast-math -mrecip -mlasx -mfrecipe" } */ |
| 3 |
/* { dg-final { scan-assembler "xvfrecipe.s" } } */ |
| 4 |
|
| 5 |
float a[8],b[8],c[8]; |
| 6 |
|
| 7 |
void |
| 8 |
foo () |
| 9 |
{ |
| 10 |
for (int i = 0; i < 8; i++) |
| 11 |
c[i] = a[i] / b[i]; |
| 12 |
} |