blob: 91f9b6f43c93a253d947c863aa1b59bea5a058fe [file] [log] [blame]
/* PR rtl-optimization/70467 */
/* { dg-do compile { target int128 } } */
/* { dg-options "-O2" } */
__uint128_t
foo (__uint128_t x)
{
return x + ((__uint128_t) 123456 << 64) + 0x1234567;
}
__uint128_t
bar (__uint128_t x)
{
return x - ((__uint128_t) 123456 << 64) + 0x1234567;
}
/* Make sure the immediates are not loaded into registers first. */
/* { dg-final { scan-assembler-not "mov\[lq\]\[ \t\]*.\[0-9-\]" } } */