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