1 /* { dg-do compile } */
2 /* { dg-options "-mavx512cd -O2" } */
3 /* { dg-final { scan-assembler-times "vpbroadcastmb2q\[ \\t\]+\[^\{\n\]*k\[1-7\]\[^\n\]*%zmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
4 
5 #include <immintrin.h>
6 
7 volatile __m512i x;
8 volatile __mmask8 m8;
9 
10 void extern
avx512f_test(void)11 avx512f_test (void)
12 {
13   x = _mm512_broadcastmb_epi64 (m8);
14 }
15