blob: 1be162e055287eb59826415af1185421c8bda80c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-require-effective-target arm_dsp } */
int
foo (int a, short b, short c)
{
int bc = b * c;
return a + (short)bc;
}
/* { dg-final { scan-assembler "\tmul\t" } } */
|