2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / small-multiply-m0plus-1.c
blob59dba7cf4abc814f0ee2cf9c4776d76d644a07fc
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_thumb1_ok } */
3 /* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" "-march=*" } { "-mcpu=cortex-m0plus.small-multiply" } } */
4 /* { dg-options "-mcpu=cortex-m0plus.small-multiply -mthumb -O2" } */
6 int
7 test (int a)
9 return a * 0x123456;
12 /* { dg-final { scan-assembler-not "\[\\t \]+mul" } } */