summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx2-vpmaskloadd256-1.c
blob: aa9438c93a7d16b6fe94e53cc19df6d98e40c005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-mavx2 -O2" } */
/* { dg-final { scan-assembler "vpmaskmovd\[ \\t\]+\[^\n\]" } } */

#include <immintrin.h>

volatile __m256i x;
int *y;

void extern
avx2_test (void)
{
  x = _mm256_maskload_epi32 (y, x);
}