Debian Codegraph @

gcc/testsuite/gcc.target/s390/load-imm64-1.c

raw
1 /* Test that large 64-bit constants are loaded with llihf + oilf when lgrl is
2 not available. */
3
4 /* { dg-do compile } */
5 /* { dg-options "-O3 -march=z9-109" } */
6
7 unsigned long long
8 magic (void)
9 {
10 return 0x3f08c5392f756cdULL;
11 }
12
13 /* { dg-final { scan-assembler-times {\n\tllihf\t} 1 { target lp64 } } } */
14 /* { dg-final { scan-assembler-times {\n\toilf\t} 1 { target lp64 } } } */