OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [dshift.c] - Diff between revs 297 and 338

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 338
foo (b, c)
foo (b, c)
     unsigned b, c;
     unsigned b, c;
{
{
  return (b << 12) | (c >> 20);
  return (b << 12) | (c >> 20);
}
}
 
 
main ()
main ()
{
{
  printf ("0x%x\n", foo (0x11223344, 0xaabbccdd));
  printf ("0x%x\n", foo (0x11223344, 0xaabbccdd));
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.