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. */
4
5 /* { dg-do compile { target { lp64 } } } */
6 /* { dg-options "-march=z900 -O2" } */
7
8 __int128 gi;
9 const int c = 0x12345678u;
10 int foo(void)
11 {
12 gi += c;
13 return c;
14 }
15
16 /* { dg-final { scan-assembler-times "\tlarl\t%r3,.L\[0-9\]" 1 } } */