PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pow-1.c
blob2e1ac61bd7907af889eb2b99b7ff26adbd23c286
1 /* { dg-do compile } */
2 /* { dg-options "-O -ffast-math" } */
4 double test1 (double x)
6 return __builtin_pow (x, 1./2.);
9 double test2 (double x)
11 return __builtin_pow (x, 3./2.);
14 double test3 (double x)
16 return __builtin_pow (x, 5./2.);
19 double test4 (double x)
21 return __builtin_pow (x, -5./2.);
24 /* { dg-final { scan-assembler-not "call\[ \t\]*pow" } } */