Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arm / smlatt-1.c
blobd7fb03400095bbee011d5ed9241e1c3856933fd7
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_dsp } */
3 /* { dg-options "-O2" } */
5 int
6 foo (int x, int in1, int in2)
8 short a = (in1 & 0xffff0000) >> 16;
9 short b = (in2 & 0xffff0000) >> 16;
11 return x + b * a;
14 /* { dg-final { scan-assembler "smlatt\\t" } } */