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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [vect-99.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-require-effective-target vect_int } */
2
 
3
int ca[100];
4
 
5
void foo (int n)
6
{
7
  unsigned int i;
8
 
9
  for (i = 0; i < n; i++)
10
    ca[i] = 2;
11
}
12
 
13
int main (void)
14
{
15
  return 0;
16
}
17
 
18
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
19
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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