gcc/testsuite/gcc.target/i386/avx512f-vcvtsi2sd-1.c
raw| 1 | /* { dg-options "-mavx512f -O2" } */ |
| 2 | /* { dg-final { scan-assembler-times "vcvtsi2sdl\[ \\t\]+\[^%\n\]*%e\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */ |
| 3 | |
| 4 | #include <immintrin.h> |
| 5 | |
| 6 | volatile __m128d x; |
| 7 | volatile int n; |
| 8 | |
| 9 | void extern |
| 10 | avx512f_test (void) |
| 11 | { |
| 12 | x = _mm_cvti32_sd (x, n); |
| 13 | } |