Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr64110.c
blob: 99e391916cb7a94e7dd40207f35f29f62acc412c [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O3 -march=core-avx2" } */
/* { dg-final { scan-assembler "vmovd\[\\t \]" } } */
int
foo
(
void
);
int
a
;
short
*
b
;
void
bar
(
short
x
)
{
while
(
a
--)
{
int
i
,
j
=
foo
();
for
(
i
=
0
;
i
<
j
;
++
i
)
*
b
++
=
x
;
}
}