1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vpbroadcastd\[ \\t\]+\[^\n\]*%xmm\[0-9\]" } } */
4 
5 #include <immintrin.h>
6 
7 __m128i x;
8 
9 void extern
avx2_test(void)10 avx2_test (void)
11 {
12   x = _mm_broadcastd_epi32 (x);
13 }
14