Debian Codegraph @

gcc/testsuite/gcc.target/csky/fpuv3/fpv3_sqrt.c

raw
1 /* { dg-do compile } */
2 /* { dg-skip-if "test is specific to ck860f" { csky-*-* } { "*" } { "-mcpu=ck860*f* -mfloat-abi=hard" "-mcpu=ck860*f* -mhard-float" } } */
3 /* { dg-options "-O2" } */
4
5 float sqrtf(float);
6 float sqrt32(float a){
7 return sqrtf(a);
8 }
9
10 double sqrt(double);
11 double sqrt64(double a){
12 return sqrt(a);
13 }
14
15 /* { dg-final { scan-assembler "fsqrt\.32" } }*/
16 /* { dg-final { scan-assembler "fsqrt\.64" } }*/