Debian Codegraph @

gcc/testsuite/gcc.target/csky/fpuv3/fpv3_div.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 div32(float a, float b){
6 return a/b;
7 }
8
9
10 float div64(double a, double b){
11 return a/b;
12 }
13
14 /* { dg-final { scan-assembler "fdiv\.32" } }*/
15 /* { dg-final { scan-assembler "fdiv\.64" } }*/