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

Subversion Repositories openrisc

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

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

/* { dg-options "-O2" } */
 
typedef struct test input ;
struct test 
{
  int type ;
  int symflag ;
};
Chv_copyEntriesToVector ( input *chv,double *dvec) 
{
  double *entries ;
  int mm, nent;
  int first, i, k , stride ;
  if ( ((chv)->type == 1) ) 
    {
      for ( i = 0 ; i < 10 ; i++)
        {
	  dvec[2*mm] = entries[2*k] ;
	  k += stride ;
	  stride -= 2 ;
        }
    }
  return(mm) ; 
}
 

Go to most recent revision | 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.