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