Exemplo n.º 1
0
__m128 test_mm_mask_i64gather_ps(__m128 a, float const *b, __m128i c,
                                 __m128 d) {
  // CHECK: @llvm.x86.avx2.gather.q.ps
  return _mm_mask_i64gather_ps(a, b, c, d, 2);
}
Exemplo n.º 2
0
__m128 test_mm_mask_i64gather_ps(__m128 a, float const *b, __m128i c, __m128 d) {
  // CHECK-LABEL: test_mm_mask_i64gather_ps
  // CHECK: call <4 x float> @llvm.x86.avx2.gather.q.ps(<4 x float> %{{.*}}, i8* %{{.*}}, <2 x i64> %{{.*}}, <4 x float> %{{.*}}, i8 2)
  return _mm_mask_i64gather_ps(a, b, c, d, 2);
}
Exemplo n.º 3
0
void extern
avx2_test (void)
{
  x = _mm_mask_i64gather_ps (x, base, idx, x, 1);
}