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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avx2-i64gatherq256-1.c
blob
c873cb95487b84bfaff85b0c4c2621b424ed54a6
1
/* { dg-do compile } */
2
/* { dg-options "-mavx2 -O2" } */
3
/* { dg-final { scan-assembler "vpgatherqq\[ \\t\]+\[^\n\]*ymm\[0-9\]\[^\n\]*ymm\[0-9\]\[^\n\]*ymm\[0-9\]" } } */
4
5
#include <immintrin.h>
6
7
volatile
__m256i x
;
8
long long int
*
base
;
9
__m256i idx
;
10
11
void
extern
12
avx2_test
(
void
)
13
{
14
x
=
_mm256_i64gather_epi64
(
base
,
idx
,
1
);
15
}