1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx512f" } */
3 /* { dg-final { scan-assembler-times "vcmpsd\[ \\t\]+\[^\{\n\]*\[^\}\]%xmm\[0-9\]+\[^\n^k\]*%k\[1-7\](?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "vcmpsd\[ \\t\]+\[^\{\n\]*\[^\}\]%xmm\[0-9\]+\[^\n^k\]*%k\[1-7\]\{%k\[0-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
5 /* { dg-final { scan-assembler-times "vcmpsd\[ \\t\]+\[^\{\n\]*\{sae\}\[^\n\]*%xmm\[0-9\]+\[^\n^k\]*%k\[1-7\](?:\n|\[ \\t\]+#)" 1 } } */
6 /* { dg-final { scan-assembler-times "vcmpsd\[ \\t\]+\[^\{\n\]*\{sae\}\[^\n\]*%xmm\[0-9\]+\[^\n^k\]*%k\[1-7\]\{%k\[0-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
16 m
= _mm_cmp_sd_mask (x
, x
, _CMP_FALSE_OQ
);
17 m
= _mm_mask_cmp_sd_mask (m
, x
, x
, _CMP_FALSE_OQ
);
18 m
= _mm_cmp_round_sd_mask (x
, x
, _CMP_FALSE_OQ
, _MM_FROUND_NO_EXC
);
19 m
= _mm_mask_cmp_round_sd_mask (m
, x
, x
, _CMP_FALSE_OQ
, _MM_FROUND_NO_EXC
);