Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-vcvtsd2usi-1.c
blob5b2572f2e6e75b677e8b75c0e50c5c4fed4bc02c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx512f" } */
3 /* { dg-final { scan-assembler-times "vcvtsd2usi\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+.{6}(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "vcvtsd2usi\[ \\t\]+\[^\n\]*\{rd-sae\}\[^\{\n\]*%xmm\[0-9\]+.{6}(?:\n|\[ \\t\]+#)" 1 } } */
5 #include <immintrin.h>
7 volatile __m128d x;
8 volatile unsigned y;
10 void extern
11 avx512f_test (void)
13 y = _mm_cvtsd_u32 (x);
14 y = _mm_cvt_roundsd_u32 (x, _MM_FROUND_TO_NEG_INF | _MM_FROUND_NO_EXC);