Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/powerpc/440-macchwu-2.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* Test generation of macchwu. on 440. */ /* Origin: Joseph Myers <joseph@codesourcery.com> */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ /* { dg-options "-O2 -mdejagnu-cpu=440" } */ /* { dg-final { scan-assembler "macchwu\\. " } } */ unsigned int f(unsigned int a, unsigned int b, unsigned int c) { a += (unsigned short)b * (c >> 16); if (!a) return 10; return a; }