Debian Codegraph @

gcc/testsuite/gcc.target/visium/cstore_fp.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O -fno-trapping-math" } */
3
4 int foo1 (float a, float b)
5 {
6 return (a < b);
7 }
8
9 int foo2 (float a, float b)
10 {
11 return (a > b);
12 }
13
14 int foo3 (float a, float b)
15 {
16 return !(a < b);
17 }
18
19 int foo4 (float a, float b)
20 {
21 return !(a > b);
22 }
23
24 /* { dg-final { scan-assembler-times "adc.l" 2 } } */
25 /* { dg-final { scan-assembler-times "subc.l" 2 } } */