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