2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / sh / sh2a-movi20s.c
blob91cf96e82a89db946d8941a314c47497d3186d13
1 /* Testcase to check generation of 'MOVI20S #imm20, Rn'. */
2 /* { dg-do compile { target { sh2a } } } */
3 /* { dg-options "-O0" } */
4 /* { dg-final { scan-assembler "movi20s"} } */
6 volatile long la;
8 void
9 testfun (void)
11 la = -134217728;
12 la = 134217216;