1/* { dg-do compile } */ 2/* { dg-options "-O2 -ffast-math -msse -mfpmath=sse -mrecip" } */ 3 4extern float sqrtf (float); 5 6float t1(float a, float b) 7{ 8 return a/sqrtf(b); 9} 10 11float t2(float a, float b) 12{ 13 return sqrtf(a/b); 14} 15 16float t3(float a) 17{ 18 return sqrtf(a); 19} 20 21/* { dg-final { scan-assembler-times "rsqrtss" 3 } } */ 22