blob: ccc16e523c8d69163b2d2024224ce5b8a3ef7331 (
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 "vpgatherqd\[ \\t\]+\[^\n\]*xmm\[0-9\]\[^\n\]*ymm\[0-9\]\[^\n\]*xmm\[0-9\]" } } */
#include <immintrin.h>
__m128i x;
int *base;
__m256i idx;
void extern
avx2_test (void)
{
x = _mm256_i64gather_epi32 (base, idx, 1);
}
|