PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-i64gatherd-3.c
blob265713da5043031b4a0d045128d1147083e7db42
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vpgatherqd\[ \\t\]+\[^\n\]*xmm\[0-9\]\[^\n\]*xmm\[0-9\]\[^\n\]*xmm\[0-9\]" } } */
5 #include <immintrin.h>
7 __m128i x;
8 int *base;
9 __m128i idx;
11 void extern
12 avx2_test (void)
14 x = _mm_mask_i64gather_epi32 (x, base, idx, x, 1);