2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-i32gatherps256-1.c
blobf09a0ff32f6a9c7b6e086379502c5c92be59cc4c
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vgatherdps\[ \\t\]+\[^\n\]*ymm\[0-9\]\[^\n\]*ymm\[0-9\]\[^\n\]*ymm\[0-9\]" } } */
5 #include <immintrin.h>
7 __m256 x;
8 float *base;
9 __m256i idx;
11 void extern
12 avx2_test (void)
14 x = _mm256_i32gather_ps (base, idx, 1);