Debian Codegraph @

gcc/testsuite/gcc.target/bpf/double-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mlittle-endian -masm=normal" } */
3
4 double f;
5 double a() { f = 1.0; return 1.0; }
6 double b() { f = 2.0; return 2.0; }
7 double c() { f = 2.0; return 3.0; }
8 double d() { f = 3.0; return 3.0; }
9
10 /* { dg-final { scan-assembler-times "lddw\t%r.,0x3ff0000000000000" 2 } } */
11 /* { dg-final { scan-assembler-times "lddw\t%r.,0x4000000000000000" 3 } } */
12 /* { dg-final { scan-assembler-times "lddw\t%r.,0x4008000000000000" 3 } } */