AVR: Support new built-in function __builtin_avr_mask1.
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / 440-mulhhw-1.c
blobd95580d40238f548de771a56977bc5893c02daa1
1 /* Test generation of mulhhw on 440. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-require-effective-target ilp32 } */
5 /* { dg-options "-O2 -mdejagnu-cpu=440" } */
7 /* { dg-final { scan-assembler "mulhhw " } } */
9 int
10 f(int b, int c)
12 int a = (b >> 16) * (c >> 16);
13 return a;