ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/powerpc/prefix-di-constant.c

14 lines
354 B
C

/* { dg-do compile } */
/* { dg-require-effective-target powerpc_prefixed_addr } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
/* Test that PLI (PADDI) is generated to load a large constant. */
unsigned long long
large (void)
{
return 0x12345678ULL;
}
/* { dg-final { scan-assembler {\mpli\M} } } */