Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.target / mips / rsqrt-3.c
blob76cee835eb6d17ba6387c04c910bb419396c99fd
1 /* { dg-do compile } */
2 /* { dg-mips-options "-O2 -mips4 -mhard-float" } */
3 /* { dg-final { scan-assembler-not "rsqrt.d" } } */
4 /* { dg-final { scan-assembler-not "rsqrt.s" } } */
6 extern double sqrt(double);
7 extern float sqrtf(float);
9 double foo(double x)
11 return 1.0/sqrt(x);
14 double bar(double x)
16 return sqrt(1.0/x);
19 float foof(float x)
21 return 1.0f/sqrtf(x);
24 float barf(float x)
26 return sqrtf(1.0f/x);