Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-vcvtsd2si64-1.c
blobdad26e4b7296935499466ef76b081ac0830c9b19
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -mavx512f" } */
3 /* { dg-final { scan-assembler-times "vcvtsd2siq\[ \\t\]+\[^\n\]*\{rz-sae\}\[^\{\n\]*%xmm\[0-9\]+.{6}(?:\n|\[ \\t\]+#)" 1 } } */
4 /* { dg-final { scan-assembler-times "vcvtsd2siq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+.{6}(?:\n|\[ \\t\]+#)" 1 } } */
6 #include <immintrin.h>
8 volatile __m128d x;
9 volatile unsigned long long y, z;
11 void extern
12 avx512f_test (void)
14 y = _mm_cvt_roundsd_i64 (x, _MM_FROUND_TO_ZERO | _MM_FROUND_NO_EXC);
15 z = _mm_cvtsd_i64 (x);