URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [graphite/] [vect-pr43423.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-require-effective-target vect_int } */ int a[100], b[100], c[100]; void foo(int n, int mid) { int i; for(i=0; i<n; i++) { if (i < mid) a[i] = a[i] + b[i]; else a[i] = a[i] + c[i]; } } /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */ /* { dg-final { cleanup-tree-dump "vect" } } */