PR target/68609
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / recip-sqrtf.c
blob29839da8c14f990536b7b15c88a1fbf6e92b3826
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ffast-math -mcpu=power6 -mrecip" } */
4 extern float sqrtf (float);
6 float t1(float a, float b)
8 return a/sqrtf(b);
11 float t2(float a, float b)
13 return sqrtf(a/b);
16 float t3(float a)
18 return sqrtf(a);
21 /* { dg-final { scan-assembler-times "frsqrtes" 3 } } */