blob: a87a207d4ea1342a231d57f85eda41bbd91c3713 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -mavx2" } */
/* { dg-final { scan-assembler "vpalignr\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */
#include <immintrin.h>
volatile __m256i x;
void extern
avx2_test (void)
{
/* imm = 13 is arbitrary here */
x = _mm256_alignr_epi8 (x, x, 13);
}