c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / 405-mullhwu-1.c
blobdec08dc2bae1394b51ad2112e8c0670f5be4df1f
1 /* Test generation of mullhwu on 405. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-require-effective-target ilp32 } */
5 /* { dg-options "-O2 -mdejagnu-cpu=405" } */
7 /* { dg-final { scan-assembler "mullhwu " } } */
9 unsigned int
10 f(unsigned int b, unsigned int c)
12 unsigned int a = (unsigned short)b * (unsigned short)c;
13 return a;