2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / litpool-r3-1.c
blob91e4807f3b6b25c3d43e4a52c5aa4f66549ffba8
1 /* Validate that r3 may be used as the literal pool pointer. Test that only on
2 64-bit for z900 to simplify the test. It's not really different on 31-bit
3 or other cpus. */
5 /* { dg-do compile { target { lp64 } } } */
6 /* { dg-options "-march=z900 -O2" } */
8 __int128 gi;
9 const int c = 0x12345678u;
10 int foo(void)
12 gi += c;
13 return c;
16 /* { dg-final { scan-assembler-times "\tlarl\t%r3,.L\[0-9\]" 1 } } */