blob: 86a89e54dc3ae03050110ebb1ab47c7d47aa0a54 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-mavx512f -O2" } */
/* { dg-final { scan-assembler-times "vpcmpuq\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\[^\n^k\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
/* { dg-final { scan-assembler-times "vpcmpuq\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\[^\n^k\]*%k\[0-7\]\{%k\[0-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
#include <immintrin.h>
volatile __m512i x;
volatile __mmask8 m;
void extern
avx512f_test (void)
{
m = _mm512_cmpge_epu64_mask (x, x);
m = _mm512_mask_cmpge_epu64_mask (m, x, x);
}