Debian Codegraph @

gcc/testsuite/gcc.target/microblaze/isa/nofcmp.c

raw
1 /* { dg-options "-O3 -mcpu=v10.0" } */
2
3 volatile float f1, f2, f3;
4
5 void float_func ()
6 {
7 /* { dg-final { scan-assembler-not "fcmp" } } */
8 if (f2 <= f3)
9 print ("le");
10 else if (f2 == f3)
11 print ("eq");
12 else if (f2 < f3)
13 print ("lt");
14 else if (f2 > f3)
15 print ("gt");
16 else if (f2 >= f3)
17 print ("ge");
18 else if (f2 != f3)
19 print ("ne");
20
21 }