PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr70467-4.c
blob91f9b6f43c93a253d947c863aa1b59bea5a058fe
1 /* PR rtl-optimization/70467 */
2 /* { dg-do compile { target int128 } } */
3 /* { dg-options "-O2" } */
5 __uint128_t
6 foo (__uint128_t x)
8 return x + ((__uint128_t) 123456 << 64) + 0x1234567;
11 __uint128_t
12 bar (__uint128_t x)
14 return x - ((__uint128_t) 123456 << 64) + 0x1234567;
17 /* Make sure the immediates are not loaded into registers first. */
18 /* { dg-final { scan-assembler-not "mov\[lq\]\[ \t\]*.\[0-9-\]" } } */