PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / small-multiply-m0-2.c
blob10d49e9eace6141a5d3c906e235b6bbddaed8b4e
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_thumb1_ok } */
3 /* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" "-march=*" } { "-mcpu=cortex-m0.small-multiply" } } */
4 /* { dg-options "-mcpu=cortex-m0.small-multiply -mthumb -Os" } */
6 int
7 test (int a)
9 return a * 0x123456;
12 /* { dg-final { scan-assembler "\[\\t \]+mul" } } */