2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / smlaltt-1.c
blob380e3d01be69c908a44fb9e502aab1dd6a8adb55
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_dsp } */
3 /* { dg-options "-O2" } */
5 long long int
6 foo (long long 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 "smlaltt\\t" { xfail *-*-* } } } */