summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx512dq-kmovb-2.c
blob: 162ce38d5f645bea1acf5c3deef946e10390f809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-mavx512dq -O2" } */
/* { dg-final { scan-assembler-times "kmovb\[ \\t\]+\[^\{\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */

#include <immintrin.h>
volatile __mmask8 k1;

void
avx512dq_test ()
{
  __mmask8 k = _cvtu32_mask8 (11);

  asm volatile ("" : "+k" (k));
  k1 = k;
}