summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx512f-vcvtss2sd-1.c
blob: 5b6a43f5471b93112dbfd6a48e02f0cf633c94bf (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-times "vcvtss2sd\[ \\t\]+\[^\n\]*\{sae\}\[^\n\]*%xmm\[0-9\]\[^\n\]*%xmm\[0-9\]\[^\{\]" 1 } } */

#include <immintrin.h>

volatile __m128d s1, r;
volatile __m128 s2;

void extern
avx512f_test (void)
{
  r = _mm_cvt_roundss_sd (s1, s2, _MM_FROUND_NO_EXC);
}