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