Debian Codegraph @

gcc/testsuite/gcc.target/csky/fpuv3/fpv3_recip.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 "" } */
4
5 float recip32(float a){
6 return 1.0f/a;
7 }
8
9 double recip64(double a){
10 return 1.0/a;
11 }
12
13 /* { dg-final { scan-assembler "frecip\.32" } }*/
14 /* { dg-final { scan-assembler "frecip\.64" } }*/