[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / 440-macchwu-1.c
blob46a18cf5d84a04bab1e4981ec9ffe31f55d0198d
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-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=440" } } */
6 /* { dg-options "-O2 -mcpu=440" } */
8 /* { dg-final { scan-assembler "macchwu " } } */
10 unsigned int
11 f(unsigned int a, unsigned int b, unsigned int c)
13 a += (unsigned short)b * (c >> 16);
14 return a;