blob: 8cf0cb40f41822345c485c85ac01ea225f1942e8 [file] [log] [blame]
/* Use 16-bit multiply instruction in Thumb-2 mode when optimizing for
size. */
/* { dg-options "-mthumb -Os" } */
/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-final { scan-assembler "muls" } } */
int f(int i, int j)
{
return i * j;
}