blob: 857e5263c8daa52b1ae2bb1addc8e55e8e9c229f [file] [log] [blame]
/* Test generation of macchw 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 "macchw " } } */
int
f(int a, int b, int c)
{
a += (short)b * (c >> 16);
return a;
}