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