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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [O3-pr36098.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_int } */
3
 
4
typedef struct {
5
  int iatom[3];
6
  int blocknr;
7
} t_sortblock;
8
 
9
#define DIM 3
10
 
11
void foo (int ncons, t_sortblock *sb, int *iatom)
12
{
13
 int i, m;
14
 
15
 for(i=0; (i<ncons); i++,iatom+=3)
16
   for(m=0; (m<DIM); m++)
17
     iatom[m]=sb[i].iatom[m];
18
}
19
 
20
/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail *-*-* } } } */
21
/* { dg-final { cleanup-tree-dump "vect" } } */
22
 

powered by: WebSVN 2.1.0

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