Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-vpsrlq-1.c
blobc19d067a761791af5ccce11a79df9d6bec751a2d
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vpsrlq\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */
5 #include <immintrin.h>
7 volatile __m256i x;
8 __m128i y;
10 void extern
11 avx2_test (void)
13 x = _mm256_srl_epi64 (x, y);