1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx -mtune=generic -mfpmath=sse -mrecip" } */
8 extern float sqrtf (float);
14 for (i
= 0; i
< 32; i
++)
15 r
[i
] = a
[i
] / sqrtf (b
[i
]);
22 for (i
= 0; i
< 32; i
++)
23 r
[i
] = sqrtf (a
[i
] / b
[i
]);
30 for (i
= 0; i
< 32; i
++)
34 /* { dg-final { scan-assembler-times "vrsqrtps\[ \\t\]+\[^\n\]*%ymm" 3 } } */