1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "vcomisd\[ \\t\]+\[^\n\]*\{sae\}\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1  } } */
4 
5 #include <immintrin.h>
6 
7 volatile __m128d x;
8 volatile int res;
9 
10 void extern
avx512f_test(void)11 avx512f_test (void)
12 {
13   res = _mm_comi_round_sd (x, x, _CMP_LT_OS, _MM_FROUND_NO_EXC);
14 }
15