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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR tree-optimization/49352 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -ftree-vectorize -fcompare-debug" } */
4
 
5
int
6
foo (int *x, int *y, int n)
7
{
8
  int i, j;
9
  int dot = 0;
10
  for (i = 0; i < n; i++)
11
    for (j = 0; j < 2; j++)
12
      dot += *(x++) * *(y++);
13
  return dot;
14
}

powered by: WebSVN 2.1.0

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