]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/powerpc/405-mullhwu-2.c
6e4d42e1038570628737169f2a19704d326a458c
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 -mcpu=405" } */
7 /* { dg-final { scan-assembler "mullhwu\\. " } } */
10 f(unsigned int b
, unsigned int c
)
12 unsigned int a
= (unsigned short)b
* (unsigned short)c
;