[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / 440-mullhwu-1.c
blob047c62538796489bac8dd18785a704dc46020dc5
1 /* Test generation of mullhwu 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 "mullhwu " } } */
10 unsigned int
11 f(unsigned int b, unsigned int c)
13 unsigned int a = (unsigned short)b * (unsigned short)c;
14 return a;