OSDN Git Service

Add sparc VIS 2.0 builtins, intrinsics, and option to control them.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / sh / sh2a-movi20s.c
1 /* Testcase to check generation of 'MOVI20S #imm20, Rn'.  */
2 /* { dg-do assemble {target sh*-*-*}}  */
3 /* { dg-options "-O0" } */
4 /* { dg-skip-if "" { "sh*-*-*" } "*" "-m2a -m2a-nofpu -m2a-single -m2a-single-only" }  */
5 /* { dg-final { scan-assembler "movi20s"} }  */
6
7 volatile long la;
8
9 void
10 testfun (void)
11 {
12   la = -134217728;
13   la = 134217216;
14 }