Debian Codegraph @

gcc/testsuite/gcc.target/arm/wmul-7.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target arm_dsp } */
4
5 unsigned long long
6 foo (unsigned long long a, unsigned char *b, unsigned short *c)
7 {
8 return a + *b * *c;
9 }
10
11 /* After zero-extending both to SImode, either signed- or unsigned-widening
12 multiply will do. */
13 /* { dg-final { scan-assembler {[us]mlal} } } */