Debian Codegraph @

gcc/testsuite/gcc.target/riscv/smaxf-ieee.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target hard_float } */
3 /* { dg-options "-ffinite-math-only -fsigned-zeros -dp" } */
4
5 float
6 smaxf (float x, float y)
7 {
8 return x >= y ? x : y;
9 }
10
11 /* { dg-final { scan-assembler-not "\t(call|tail)\tfmaxf\t" } } */
12 /* { dg-final { scan-assembler-not "\tfmax\\.s\t" } } */
13 /* { dg-final { scan-assembler "\t(fge\\.s|flt\\.s)\t" } } */