* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx2-vbroadcastsi128-1.c
blob7805e3ddbc4da58efceaec9a55962a7f2a89b7e5
1 /* { dg-do compile } */
2 /* { dg-options "-mavx2 -O2" } */
3 /* { dg-final { scan-assembler "vbroadcasti128\[ \\t\]+\[^\n\]*%ymm\[0-9\]" } } */
5 #include <immintrin.h>
7 volatile __m256i x;
8 __m128i y;
10 void extern
11 avx2_test (void)
13 x = _mm256_broadcastsi128_si256 (y);