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

#include <immintrin.h>

volatile __m256i x;

void extern
avx2_test (void)
{
  x = _mm256_srli_epi16 (x, 13);
}