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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr36630.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
 
4
void
5
foo (unsigned char *x, short y)
6
{
7
  short i;
8
 
9
  i = 2;
10
  while (i < y)
11
    {
12
      x[i - 1] = x[i];
13
      i = i + 1;
14
    }
15
}
16
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
17
/* { 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.