ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/s390/load-imm64-1.c

15 lines
378 B
C
Raw Normal View History

2024-04-01 15:19:46 +00:00
/* Test that large 64-bit constants are loaded with llihf + oilf when lgrl is
not available. */
/* { dg-do compile } */
/* { dg-options "-O3 -march=z9-109" } */
unsigned long
magic (void)
{
return 0x3f08c5392f756cd;
}
/* { dg-final { scan-assembler-times {\n\tllihf\t} 1 { target lp64 } } } */
/* { dg-final { scan-assembler-times {\n\toilf\t} 1 { target lp64 } } } */