OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [pr38409.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-options "-O2" } */
2
 
3
typedef struct test input ;
4
struct test
5
{
6
  int type ;
7
  int symflag ;
8
};
9
Chv_copyEntriesToVector ( input *chv,double *dvec)
10
{
11
  double *entries ;
12
  int mm, nent;
13
  int first, i, k , stride ;
14
  if ( ((chv)->type == 1) )
15
    {
16
      for ( i = 0 ; i < 10 ; i++)
17
        {
18
          dvec[2*mm] = entries[2*k] ;
19
          k += stride ;
20
          stride -= 2 ;
21
        }
22
    }
23
  return(mm) ;
24
}

powered by: WebSVN 2.1.0

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