Debian Codegraph @

gcc/testsuite/gcc.target/csky/fpuv3/fpv3_min.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 extern float fminf( float x, float y );
6 float fmin32(float a, float b){
7 return fminf(a, b);
8 }
9
10 extern double fmin( double x, double y );
11 double fmin64(double a, double b){
12 return fmin(a, b);
13 }
14
15 /* { dg-final { scan-assembler "fminnm\.32" } }*/
16 /* { dg-final { scan-assembler "fminnm\.64" } }*/