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