URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-require-effective-target vect_int } */
|
/* { dg-require-effective-target vect_int } */
|
|
|
typedef struct {
|
typedef struct {
|
int iatom[3];
|
int iatom[3];
|
int blocknr;
|
int blocknr;
|
} t_sortblock;
|
} t_sortblock;
|
|
|
#define DIM 3
|
#define DIM 3
|
|
|
void foo (int ncons, t_sortblock *sb, int *iatom)
|
void foo (int ncons, t_sortblock *sb, int *iatom)
|
{
|
{
|
int i, m;
|
int i, m;
|
|
|
for(i=0; (i<ncons); i++,iatom+=3)
|
for(i=0; (i<ncons); i++,iatom+=3)
|
for(m=0; (m<DIM); m++)
|
for(m=0; (m<DIM); m++)
|
iatom[m]=sb[i].iatom[m];
|
iatom[m]=sb[i].iatom[m];
|
}
|
}
|
|
|
/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail *-*-* } } } */
|
/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail *-*-* } } } */
|
/* { dg-final { cleanup-tree-dump "vect" } } */
|
/* { dg-final { cleanup-tree-dump "vect" } } */
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.