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

#include <immintrin.h>

volatile __m256i x;

void extern
avx2_test (void)
{
  x = _mm256_blendv_epi8 (x, x, x);
}