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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [pr42914.c] - Rev 689

Compare with Previous | Blame | View Log

/* { dg-options "-O2 -g -ffast-math -fgraphite-identity" } */
 
int find_sad_16x16(int *mode)
{
  int current, best;
  int M1[16][16],M0[4][4][4][4],M3[4],M4[4][4];
  int i,j,k;
  int ii,jj;
 
  for (jj=0;jj<4;jj++)
    for (ii=0;ii<4;ii++)
      for (j=0;j<4;j++)
	for (j=0;j<4;j++)
	  current += abs(M0[i][ii][j][jj]);
 
  if(current < best)
    {
      best = current;
      *mode = k;
    }
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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