Debian Codegraph @

gcc/testsuite/gcc.target/csky/fpuv3/fpv3_lt.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 flt32(float a, float b, float c, float d){
6 if(a < b)
7 return c;
8 return d;
9 }
10
11 double flt64(double a, double b, double c, double d){
12 if( a < b)
13 return c;
14 return d;
15 }
16
17 /* { dg-final { scan-assembler "fcmplt\.32" } }*/
18 /* { dg-final { scan-assembler "fcmplt\.64" } }*/
19