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 unsigned long long i; 7 8 void avx512bw_test()9avx512bw_test () 10 { 11 __mmask64 k = 11; 12 13 asm volatile ("" : "+k" (k)); 14 i = _cvtmask64_u64 (k); 15 } 16