Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.target / powerpc / 440-macchwu-1.c
blob1db6c6e710f302aa377aa4d633eb6eaea116a2d4
1 /* Test generation of macchwu on 440. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-require-effective-target ilp32 } */
5 /* { dg-options "-O2 -mcpu=440" } */
7 /* { dg-final { scan-assembler "macchwu " } } */
9 unsigned int
10 f(unsigned int a, unsigned int b, unsigned int c)
12 a += (unsigned short)b * (c >> 16);
13 return a;