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
2015-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr64110.c
blob
99e391916cb7a94e7dd40207f35f29f62acc412c
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -march=core-avx2" } */
3
/* { dg-final { scan-assembler "vmovd\[\\t \]" } } */
4
5
int
foo
(
void
);
6
int
a
;
7
short
*
b
;
8
9
void
10
bar
(
short
x
)
11
{
12
while
(
a
--)
13
{
14
int
i
,
j
=
foo
();
15
for
(
i
=
0
;
i
<
j
; ++
i
)
16
*
b
++ =
x
;
17
}
18
}