Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / recip-sqrtf.c
blob859d2180a39af452dc0faaabf306523df7aabdec
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ffast-math -msse -mfpmath=sse -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 "rsqrtss" 3 } } */