PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / wmul-3.c
blob87eba740142a80a1dc1979b4e79d9272a839e7b2
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_dsp } */
3 /* { dg-options "-O" } */
5 int
6 foo (int a, int b)
8 return (short) a * (short) b;
11 /* { dg-final { scan-assembler-times "smulbb" 1 } } */