aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx512bw-vpsrldq-1.c
blob: d9424f5106970d347e1273154249e4c5e30df371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-mavx512bw -O2" } */
/* { dg-final { scan-assembler-times "vpsrldq\[ \\t\]+\[^\n\]*%zmm\[0-9\]\[^\{\]" 1 } } */

#include <immintrin.h>

extern volatile __m512i x;

void extern
avx512bw_test (void)
{
  x = _mm512_bsrli_epi128 (x, 13);
}