URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [fast-math-vect-outer-7.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-require-effective-target vect_float } */ float dvec[256]; void test1 (float x) { long i, j; for (i = 0; i < 256; ++i) for (j = 0; j < 131072; ++j) dvec[i] *= x; } void test2 (float x) { long i, j; for (i = 0; i < 256; ++i) for (j = 0; j < 131072; ++j) dvec[i] *= 1.001f; } /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 2 "vect" } } */ /* { dg-final { cleanup-tree-dump "vect" } } */