[ARM] Updating testcase unsigned-extend-2.c

gcc/testsuite/ChangeLog:
2016-12-21  Andre Vieira  <andre.simoesdiasvieira@arm.com>

	* gcc.target/arm/unsigned-extend-2.c: Update testcase.

From-SVN: r243858
This commit is contained in:
Andre Vieira 2016-12-21 15:16:53 +00:00 committed by Andre Vieira
parent b0a3329db0
commit 2d44c551c2
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2016-12-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/unsigned-extend-2.c: Update testcase.
2016-12-21 Martin Liska <mliska@suse.cz>
PR driver/78863

View File

@ -2,13 +2,13 @@
/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-options "-O" } */
unsigned short foo (unsigned short x)
unsigned short foo (unsigned short x, unsigned short c)
{
unsigned char i = 0;
for (i = 0; i < 8; i++)
{
x >>= 1;
x &= 0x7fff;
x &= c;
}
return x;
}