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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
slp-38.c
blob
e6bd919135cb0c3cc6a975f30a077fb3688d227e
1
/* { dg-do compile } */
2
3
typedef
struct
{
4
float
l
,
h
;
5
}
tFPinterval
;
6
7
tFPinterval X
[
1024
];
8
tFPinterval Y
[
1024
];
9
tFPinterval Z
[
1024
];
10
11
void
Compute
(
void
)
12
{
13
int
d
;
14
for
(
d
=
0
;
d
<
1024
;
d
++)
15
{
16
Y
[
d
].
l
=
X
[
d
].
l
+
X
[
d
].
h
;
17
Y
[
d
].
h
=
Y
[
d
].
l
;
18
Z
[
d
].
l
=
X
[
d
].
l
;
19
Z
[
d
].
h
=
X
[
d
].
h
;
20
}
21
}
22
23
/* { dg-final { scan-tree-dump-times "vectorized 1 loops in function" 1 "vect" { target { vect_float && vect_perm } } } } */