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 k0 = 11; 12 __mmask8 k = _load_mask8 (&k0); 13 14 asm volatile ("" : "+k" (k)); 15 k1 = k; 16 } 17