repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx-set1-epi32-1.c
blob
2d774aef3033e68303134e1af333a350ea78d0f0
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_d u
;
12
int
e
[
8
];
13
int
source
[
1
] = {
1234
};
14
15
u
.
x
=
_mm256_set1_epi32
(
source
[
0
]);
16
17
for
(
i
=
0
;
i
<
8
;
i
++)
18
e
[
i
] =
source
[
0
];
19
20
if
(
check_union256i_d
(
u
,
e
))
21
abort
();
22
}