aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/small-multiply-m0plus-1.c
blob: e03cc2d39c0e57afadc1f9d28f0702511511016f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-require-effective-target arm_cpu_cortex_m0plus_small_ok } */
/* { dg-options "-O2" } */
/* { dg-add-options arm_cpu_cortex_m0plus_small } */

int
test (int a)
{
  return a * 0x123456;
}

/* { dg-final { scan-assembler-not "\[\\t \]+mul" } } */