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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [vect-pre-interact.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_float } */
3
 
4
/* This checks that PRE doesn't create situations that prevent vectorization.
5
   I.e. PR39300, PR35229.  */
6
float res[1024], data[1025];
7
 
8
void foo (void)
9
{
10
  int i;
11
  for (i = 0; i < 1024; ++i)
12
    res[i] = data[i] + data[i + 1];
13
}
14
 
15
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
16
/* { 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.