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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
vect-cost-model-2.c
blob
fa9bdb607b2b193928a29e1e692f554f0fe7bcfb
1
/* { dg-do compile } */
2
/* { dg-additional-options "-O2 -ftree-vectorize -fvect-cost-model=very-cheap" } */
3
4
void
5
f
(
int
*
x
,
int
*
y
)
6
{
7
for
(
unsigned int
i
=
0
;
i
<
1024
; ++
i
)
8
x
[
i
] +=
y
[
i
];
9
}
10
11
/* { dg-final { scan-tree-dump-not {LOOP VECTORIZED} vect { target vect_int } } } */