1 /* { dg-do compile } */ 2 /* { dg-options "-mavx512bw -O2" } */ 3 /* { dg-final { scan-assembler-times "kmovq\[ \\t\]+\[^\{\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */ 4 5 #include <immintrin.h> 6 volatile __mmask64 k1; 7 8 void avx512bw_test()9avx512bw_test () 10 { 11 __mmask64 k = _cvtu64_mask64 (11); 12 13 asm volatile ("" : "+k" (k)); 14 k1 = k; 15 } 16