aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/arm/thumb1-imm.c
blob: 6d950aa182c32878298f508afbe894f658abc8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Check for thumb1 imm [255-510] moves.  */
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-options "-Os" } */
/* { dg-skip-if "" { ! { arm_thumb1 } } } */

int f()
{
  return 257;
}

/* { dg-final { scan-assembler-not "ldr" } } */