blob: 4cf22fe18277ad8690e1a41acf219110b358f21f [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-mavx512bw -O2" } */
/* { dg-final { scan-assembler-times "kmovd\[ \\t\]+\[^\{\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
#include <immintrin.h>
volatile __mmask32 k1 = 11;
void
avx512bw_test ()
{
__mmask32 k0, k;
_store_mask32 (&k, k1);
asm volatile ("" : "+k" (k));
k0 = k;
}