summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx512f-vcvtusi2sd-1.c
blob: b00c321c5000a120a0dd2586fae2f44ed2472de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-mavx512f -O2" } */
/* { dg-final { scan-assembler "vcvtusi2sd\[ \\t\]+\[^\n\]*%xmm\[0-9\]" } } */

#include <immintrin.h>

volatile __m128d x;
volatile unsigned n;

void extern
avx512f_test (void)
{
  x = _mm_cvtu32_sd (x, n);
}