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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
vect-cond-1.c
blob
1bf7aa28a132f42034ac9d961f60e1f68cf10730
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize -mavx2" } */
3
4
int
a
[
1024
];
5
6
int
7
foo
(
int
*
p
)
8
{
9
int
i
;
10
for
(
i
=
0
;
i
<
1024
;
i
++)
11
{
12
int
t
;
13
if
(
a
[
i
] <
30
)
14
t
= *
p
;
15
else
16
t
=
a
[
i
] +
12
;
17
a
[
i
] =
t
;
18
}
19
}
20