URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [O3-pr39675-2.c] - Rev 298
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-require-effective-target vect_int } */ #define N 128 int out[N*4], out2[N], in[N*4]; void foo () { int i, a0, a1, a2, a3; for (i = 0; i < N; i++) { a0 = in[i*4]; a1 = in[i*4 + 1]; a2 = in[i*4 + 2]; a3 = in[i*4 + 3]; out[i*4] = a0; out[i*4 + 1] = a1; out[i*4 + 2] = a2; out[i*4 + 3] = a3; out2[i] = a0; } } /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_strided_wide } } } */ /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target vect_strided_wide } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */