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