Debian Codegraph @

gcc/testsuite/gcc.target/arm/thumb2-mul-space.c

raw
1 /* Use 16-bit multiply instruction in Thumb-2 mode when optimizing for
2 size. */
3 /* { dg-options "-mthumb -Os" } */
4 /* { dg-require-effective-target arm_thumb2_ok } */
5 /* { dg-final { scan-assembler "muls" } } */
6
7 int f(int i, int j)
8 {
9 return i * j;
10 }