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
Stop only if there aren't any usable algorithms
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
vectorize7.c
blob
10b7ba27868abdf11ac446de884519f5382231ab
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize -msse2" } */
3
4
unsigned int
a
[
256
];
5
float
b
[
256
];
6
7
void
foo
(
void
)
8
{
9
int
i
;
10
11
for
(
i
=
0
;
i
<
256
; ++
i
)
12
b
[
i
] =
a
[
i
];
13
}
14
15
/* { dg-final { scan-assembler "cvtdq2ps" } } */