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
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx-setzero-si256-1.c
blob
01eef2a4e30ee7ace20692a7a0188a518f59d912
1
/* { dg-do run } */
2
/* { dg-require-effective-target avx } */
3
/* { dg-options "-O2 -mavx" } */
4
5
#include
"avx-check.h"
6
7
void static
8
avx_test
(
void
)
9
{
10
int
i
;
11
union256i_q u
;
12
long long
e
[
4
];
13
14
u
.
x
=
_mm256_setzero_si256
();
15
16
for
(
i
=
0
;
i
<
4
;
i
++)
17
e
[
i
] =
0
;
18
19
if
(
check_union256i_q
(
u
,
e
))
20
abort
();
21
}