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