[ARM] Fix test armv8_2-fp16-move-1.c
[official-gcc.git] / gcc / testsuite / gcc.target / arm / wmul-bitfield-1.c
blob2e9da59233aef982e1a17b1f1aad49d775246a2d
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target arm_dsp } */
5 struct bf
7 int a : 3;
8 int b : 15;
9 int c : 3;
12 long long
13 foo (long long a, struct bf b, struct bf c)
15 return a + b.b * c.b;
18 /* { dg-final { scan-assembler "smlalbb" } } */