aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/arm/thumb1-Os-mult.c
blob: 31b8bd692276afcbe69961b196ad7c02f08a85ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-do compile } */
/* { dg-options "-Os" } */
/* { dg-skip-if "" { ! { arm_thumb1 } } } */

int
mymul3 (int x)
{
  return x * 0x555;
}

/* { dg-final { scan-assembler "mul\[\\t \]*r.,\[\\t \]*r." } } */