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