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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* PR target/45913 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" } */
4
 
5
extern void bar (int, int);
6
 
7
int ss[128];
8
 
9
void
10
foo (int i, int j, int k, int *p1, int *p2)
11
{
12
  int s[128];
13
  __builtin_memcpy (s, ss, sizeof s);
14
 
15
  while (i--)
16
    {
17
      int a = s[i];
18
      while (j--)
19
        bar (k, p2[a]);
20
      j = s[i] & 0xFF;
21
      bar (p1[a], k);
22
    }
23
}

powered by: WebSVN 2.1.0

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