Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/vect/fast-math-vect-pow-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-require-effective-target vect_float } */ | |
3 | |
4 float x[256]; | |
5 | |
6 void foo(void) | |
7 { | |
8 int i; | |
9 for (i=0; i<256; ++i) | |
10 x[i] = x[i] * x[i]; | |
11 } | |
12 | |
13 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */ |