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
/
avx2-i32gatherpd-3.c
blob
5e1d4864bdf323f860bf1a475b4d3206f624a416
1
/* { dg-do compile } */
2
/* { dg-options "-mavx2 -O2" } */
3
/* { dg-final { scan-assembler "vgatherdpd\[ \\t\]+\[^\n\]*xmm\[0-9\]\[^\n\]*xmm\[0-9\]\[^\n\]*xmm\[0-9\]" } } */
4
5
#include <immintrin.h>
6
7
__m128d x
;
8
double
*
base
;
9
__m128i idx
;
10
11
void
extern
12
avx2_test
(
void
)
13
{
14
x
=
_mm_mask_i32gather_pd
(
x
,
base
,
idx
,
x
,
1
);
15
}