blob: c56479d18973373fd8cc100d4614c083fd1a8cce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-require-effective-target arm_thumb1_ok } */
/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" "-march=*" } { "-mcpu=cortex-m1.small-multiply" } } */
/* { dg-options "-mcpu=cortex-m1.small-multiply -mthumb -Os" } */
int
test (int a)
{
return a * 0x13;
}
/* { dg-final { scan-assembler-not "\[\\t \]+mul" } } */
|