2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-i64gatherq256-1.c
blobc873cb95487b84bfaff85b0c4c2621b424ed54a6
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\]" } } */
5 #include <immintrin.h>
7 volatile __m256i x;
8 long long int *base;
9 __m256i idx;
11 void extern
12 avx2_test (void)
14 x = _mm256_i64gather_epi64 (base, idx, 1);