blob: beab7ebc40d498409a007f92f979d6bafbab5a7d [file] [log] [blame]
/* Test generation of mullhw on 405. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mcpu=405" } */
/* { dg-final { scan-assembler "mullhw " } } */
int
f(int b, int c)
{
int a = (short)b * (short)c;
return a;
}