summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/avx512f-vcvtss2sd-1.c
blob: ee98d3638e84305355991acd76aef342cf0ab5a8 (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\]+(?:\n|\[ \\t\]+#)" 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);
}