forked from OSchip/llvm-project
[X86] Remove unused 'hint' argument from prefetch tests
hint is a compile time constant and can't be passed in as a variable - we already hardcode
This commit is contained in:
parent
eb28da89a6
commit
6e345426de
|
@ -3,49 +3,49 @@
|
||||||
|
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
|
|
||||||
void test_mm512_mask_prefetch_i32gather_pd(__m256i index, __mmask8 mask, void const *addr, int hint) {
|
void test_mm512_mask_prefetch_i32gather_pd(__m256i index, __mmask8 mask, void const *addr) {
|
||||||
// CHECK-LABEL: @test_mm512_mask_prefetch_i32gather_pd
|
// CHECK-LABEL: @test_mm512_mask_prefetch_i32gather_pd
|
||||||
// CHECK: @llvm.x86.avx512.gatherpf.dpd
|
// CHECK: @llvm.x86.avx512.gatherpf.dpd
|
||||||
return _mm512_mask_prefetch_i32gather_pd(index, mask, addr, 2, _MM_HINT_T0);
|
return _mm512_mask_prefetch_i32gather_pd(index, mask, addr, 2, _MM_HINT_T0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_mm512_prefetch_i32gather_pd(__m256i index, void const *addr, int hint) {
|
void test_mm512_prefetch_i32gather_pd(__m256i index, void const *addr) {
|
||||||
// CHECK-LABEL: @test_mm512_prefetch_i32gather_pd
|
// CHECK-LABEL: @test_mm512_prefetch_i32gather_pd
|
||||||
// CHECK: @llvm.x86.avx512.gatherpf.dpd
|
// CHECK: @llvm.x86.avx512.gatherpf.dpd
|
||||||
return _mm512_prefetch_i32gather_pd(index, addr, 2, _MM_HINT_T0);
|
return _mm512_prefetch_i32gather_pd(index, addr, 2, _MM_HINT_T0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_mm512_mask_prefetch_i32gather_ps(__m512i index, __mmask16 mask, void const *addr, int hint) {
|
void test_mm512_mask_prefetch_i32gather_ps(__m512i index, __mmask16 mask, void const *addr) {
|
||||||
// CHECK-LABEL: @test_mm512_mask_prefetch_i32gather_ps
|
// CHECK-LABEL: @test_mm512_mask_prefetch_i32gather_ps
|
||||||
// CHECK: @llvm.x86.avx512.gatherpf.dps
|
// CHECK: @llvm.x86.avx512.gatherpf.dps
|
||||||
return _mm512_mask_prefetch_i32gather_ps(index, mask, addr, 2, _MM_HINT_T0);
|
return _mm512_mask_prefetch_i32gather_ps(index, mask, addr, 2, _MM_HINT_T0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_mm512_prefetch_i32gather_ps(__m512i index, void const *addr, int hint) {
|
void test_mm512_prefetch_i32gather_ps(__m512i index, void const *addr) {
|
||||||
// CHECK-LABEL: @test_mm512_prefetch_i32gather_ps
|
// CHECK-LABEL: @test_mm512_prefetch_i32gather_ps
|
||||||
// CHECK: @llvm.x86.avx512.gatherpf.dps
|
// CHECK: @llvm.x86.avx512.gatherpf.dps
|
||||||
return _mm512_prefetch_i32gather_ps(index, addr, 2, _MM_HINT_T0);
|
return _mm512_prefetch_i32gather_ps(index, addr, 2, _MM_HINT_T0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_mm512_mask_prefetch_i64gather_pd(__m512i index, __mmask8 mask, void const *addr, int hint) {
|
void test_mm512_mask_prefetch_i64gather_pd(__m512i index, __mmask8 mask, void const *addr) {
|
||||||
// CHECK-LABEL: @test_mm512_mask_prefetch_i64gather_pd
|
// CHECK-LABEL: @test_mm512_mask_prefetch_i64gather_pd
|
||||||
// CHECK: @llvm.x86.avx512.gatherpf.qpd
|
// CHECK: @llvm.x86.avx512.gatherpf.qpd
|
||||||
return _mm512_mask_prefetch_i64gather_pd(index, mask, addr, 2, _MM_HINT_T0);
|
return _mm512_mask_prefetch_i64gather_pd(index, mask, addr, 2, _MM_HINT_T0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_mm512_prefetch_i64gather_pd(__m512i index, void const *addr, int hint) {
|
void test_mm512_prefetch_i64gather_pd(__m512i index, void const *addr) {
|
||||||
// CHECK-LABEL: @test_mm512_prefetch_i64gather_pd
|
// CHECK-LABEL: @test_mm512_prefetch_i64gather_pd
|
||||||
// CHECK: @llvm.x86.avx512.gatherpf.qpd
|
// CHECK: @llvm.x86.avx512.gatherpf.qpd
|
||||||
return _mm512_prefetch_i64gather_pd(index, addr, 2, _MM_HINT_T0);
|
return _mm512_prefetch_i64gather_pd(index, addr, 2, _MM_HINT_T0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_mm512_mask_prefetch_i64gather_ps(__m512i index, __mmask8 mask, void const *addr, int hint) {
|
void test_mm512_mask_prefetch_i64gather_ps(__m512i index, __mmask8 mask, void const *addr) {
|
||||||
// CHECK-LABEL: @test_mm512_mask_prefetch_i64gather_ps
|
// CHECK-LABEL: @test_mm512_mask_prefetch_i64gather_ps
|
||||||
// CHECK: @llvm.x86.avx512.gatherpf.qps
|
// CHECK: @llvm.x86.avx512.gatherpf.qps
|
||||||
return _mm512_mask_prefetch_i64gather_ps(index, mask, addr, 2, _MM_HINT_T0);
|
return _mm512_mask_prefetch_i64gather_ps(index, mask, addr, 2, _MM_HINT_T0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_mm512_prefetch_i64gather_ps(__m512i index, void const *addr, int hint) {
|
void test_mm512_prefetch_i64gather_ps(__m512i index, void const *addr) {
|
||||||
// CHECK-LABEL: @test_mm512_prefetch_i64gather_ps
|
// CHECK-LABEL: @test_mm512_prefetch_i64gather_ps
|
||||||
// CHECK: @llvm.x86.avx512.gatherpf.qps
|
// CHECK: @llvm.x86.avx512.gatherpf.qps
|
||||||
return _mm512_prefetch_i64gather_ps(index, addr, 2, _MM_HINT_T0);
|
return _mm512_prefetch_i64gather_ps(index, addr, 2, _MM_HINT_T0);
|
||||||
|
|
Loading…
Reference in New Issue