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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr23625.c] - Blame information for rev 328

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* Test case for PR23625 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -ftree-vectorize -ftree-loop-linear" } */
4
 
5
typedef long INT32;
6
void find_best_colors ()
7
{
8
int ic0, ic1, ic2;
9
INT32 * bptr;
10
INT32 dist1;
11
INT32 dist2;
12
INT32 xx1;
13
for (ic0 = (1<<(5 -3))-1;ic0 >= 0;ic0--)
14
{
15
  for (ic1 = (1<<(6 -3))-1;ic1 >= 0;ic1--)
16
  {
17
    dist2 = dist1;
18
     for (ic2 = (1<<(5 -3))-1;ic2 >= 0;ic2--)
19
     {
20
        *bptr = dist2;
21
        bptr++;
22
     }
23
     dist1 += xx1;
24
  }
25
}
26
}
27
 

powered by: WebSVN 2.1.0

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