2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / small-multiply-m1-3.c
blobbc732c32346b1650220c59caa920ce34bd2d3518
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_thumb1_ok } */
3 /* { dg-skip-if "Test is specific to cortex-m1.small-multiply" { arm*-*-* } { "*" } { "-mcpu=cortex-m1.small-multiply" } } */
4 /* { dg-options "-mcpu=cortex-m1.small-multiply -mthumb -Os" } */
6 int
7 test (int a)
9 return a * 0x13;
12 /* { dg-final { scan-assembler-not "\[\\t \]+mul" } } */