Exemplo n.º 1
0
void extern
avx512dq_test (void)
{
  x = _mm512_broadcast_i64x2 (z);
  x = _mm512_mask_broadcast_i64x2 (x, m, z);
  x = _mm512_maskz_broadcast_i64x2 (m, z);
  y = _mm256_broadcast_i64x2 (z);
  y = _mm256_mask_broadcast_i64x2 (y, m, z);
  y = _mm256_maskz_broadcast_i64x2 (m, z);
}
Exemplo n.º 2
0
__m256i test_mm256_broadcast_i64x2(__m128i const* __A) {
  // CHECK-LABEL: @test_mm256_broadcast_i64x2
  // CHECK: shufflevector <2 x i64> %{{.*}}, <2 x i64> %{{.*}}, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
  return _mm256_broadcast_i64x2(_mm_loadu_si128(__A)); 
}