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