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
Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
vect-118.c
blob
01ae828bd191ae010946a4fcacdaf182bae74ea4
1
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
4
void
f
(
short
*
__restrict__ a
,
short
*
__restrict__ b
,
short
*
__restrict__ x
)
5
{
6
int
i
;
7
for
(
i
=
0
;
i
<
1024
;
i
++)
8
x
[
i
] =
a
[
i
] +
b
[
i
];
9
}
10
11
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */