Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/e500-unord-2.c

raw
1 /* { dg-do compile { target powerpc*-*-eabi* } } */
2 /* { dg-options "-O -fno-trapping-math -fdump-rtl-final" } */
3
4 int isgreater (float f1, float f2)
5 {
6 int r = __builtin_isgreater (f1, f2);
7 return !r ? -1 : 1;
8 }
9
10 int isgreaterequal (float f1, float f2)
11 {
12 int r = __builtin_isgreaterequal (f1, f2);
13 return !r ? -1 : 1;
14 }
15
16 int isless (float f1, float f2)
17 {
18 int r = __builtin_isless (f1, f2);
19 return !r ? -1 : 1;
20 }
21
22 int islessequal (float f1, float f2)
23 {
24 int r = __builtin_islessequal (f1, f2);
25 return !r ? -1 : 1;
26 }
27
28 /* { dg-final { scan-rtl-dump-not "__unordsf2" "final" } } */