__m128 test_mm_mask_i32gather_ps(__m128 a, float const *b, __m128i c, __m128 d) { // CHECK: @llvm.x86.avx2.gather.d.ps return _mm_mask_i32gather_ps(a, b, c, d, 2); }
__m128 test_mm_mask_i32gather_ps(__m128 a, float const *b, __m128i c, __m128 d) { // CHECK-LABEL: test_mm_mask_i32gather_ps // CHECK: call <4 x float> @llvm.x86.avx2.gather.d.ps(<4 x float> %{{.*}}, i8* %{{.*}}, <4 x i32> %{{.*}}, <4 x float> %{{.*}}, i8 2) return _mm_mask_i32gather_ps(a, b, c, d, 2); }
void extern avx2_test (void) { x = _mm_mask_i32gather_ps (x, base, idx, x, 1); }