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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [pr42914.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-options "-O2 -g -ffast-math -fgraphite-identity" } */
2
 
3
int find_sad_16x16(int *mode)
4
{
5
  int current, best;
6
  int M1[16][16],M0[4][4][4][4],M3[4],M4[4][4];
7
  int i,j,k;
8
  int ii,jj;
9
 
10
  for (jj=0;jj<4;jj++)
11
    for (ii=0;ii<4;ii++)
12
      for (j=0;j<4;j++)
13
        for (j=0;j<4;j++)
14
          current += abs(M0[i][ii][j][jj]);
15
 
16
  if(current < best)
17
    {
18
      best = current;
19
      *mode = k;
20
    }
21
}

powered by: WebSVN 2.1.0

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