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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr24626-4.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fmodulo-sched" } */
3
 
4
int foo(short* vec1, short* vec2, short* vec3,int len )
5
{
6
        int temp,i;
7
        for (i=0; i<len; i++) {
8
                 temp = vec1[i] * 2;
9
                 temp += vec2[i] * 3 ;
10
                 vec3[i] = temp;
11
        }
12
}

powered by: WebSVN 2.1.0

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