Example #1
0
void extern
avx512dq_test (void)
{
  res1 = _mm512_cvtepi64_pd (s1);
  res1 = _mm512_mask_cvtepi64_pd (res1, m, s1);
  res1 = _mm512_maskz_cvtepi64_pd (m, s1);
  res2 = _mm256_cvtepi64_pd (s2);
  res2 = _mm256_mask_cvtepi64_pd (res2, m, s2);
  res2 = _mm256_maskz_cvtepi64_pd (m, s2);
  res3 = _mm_cvtepi64_pd (s3);
  res3 = _mm_mask_cvtepi64_pd (res3, m, s3);
  res3 = _mm_maskz_cvtepi64_pd (m, s3);
  res1 = _mm512_cvt_roundepi64_pd (s1, _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC);
  res1 = _mm512_mask_cvt_roundepi64_pd (res1, m, s1, _MM_FROUND_TO_NEG_INF | _MM_FROUND_NO_EXC);
  res1 = _mm512_maskz_cvt_roundepi64_pd (m, s1, _MM_FROUND_TO_ZERO | _MM_FROUND_NO_EXC);
}
Example #2
0
__m128d test_mm_cvtepi64_pd(__m128i __A) {
  // CHECK-LABEL: @test_mm_cvtepi64_pd
  // CHECK: sitofp <2 x i64> %{{.*}} to <2 x double>
  return _mm_cvtepi64_pd(__A); 
}
Example #3
0
__m128d test_mm_cvtepi64_pd(__m128i __A) {
  // CHECK-LABEL: @test_mm_cvtepi64_pd
  // CHECK: @llvm.x86.avx512.mask.cvtqq2pd.128
  return _mm_cvtepi64_pd(__A); 
}