aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/avx2-vpmaskstored-1.c
blob: 0731d1ae16dda4105e32663b31dbaffe55b78fb7 (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>

__m128i x;
int *y;

void extern
avx2_test (void)
{
  _mm_maskstore_epi32 (y, x, x);
}