repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/55146
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
fast-math-vect-pow-1.c
blob
4d000f192f1b2eeb0c8177c5ee4630c6488812fe
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" } } */
14
/* { dg-final { cleanup-tree-dump "vect" } } */