1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target arm_dsp } */
4 
5 long long
foo(long long a,int * b,int * c)6 foo (long long a, int *b, int *c)
7 {
8   return a + (long long)*b * *c;
9 }
10 
11 /* { dg-final { scan-assembler "smlal" } } */
12