* gcc.target/powerpc/builtins-1-be.c <vclzb>: Rename duplicate test
[official-gcc.git] / gcc / testsuite / gcc.target / mips / rsqrt-2.c
blobc35ca0c6aca35011de003ff404aa2ac665a7b7cf
1 /* { dg-do compile } */
2 /* { dg-options "-ffast-math isa=4 -mhard-float -mgp64" } */
3 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 /* { dg-final { scan-assembler "\trsqrt.d\t" } } */
5 /* { dg-final { scan-assembler "\trsqrt.s\t" } } */
7 extern double sqrt(double);
8 extern float sqrtf(float);
10 NOMIPS16 double foo(double x)
12 return sqrt(1.0/x);
15 NOMIPS16 float bar(float x)
17 return sqrtf(1.0f/x);