OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [sparc/] [ultrasp4.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* Simplified from PR target/5309.  */
2
 
3
/* { dg-do compile } */
4
/* { dg-options "-O2 -mcpu=ultrasparc" } */
5
 
6
extern long bar (unsigned int);
7
 
8
long
9
foo (long x, unsigned int y)
10
{
11
  return *(((long *) (bar (y) - 1)) + 1 + (x >> 2) % 359);
12
}

powered by: WebSVN 2.1.0

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