forked from OSchip/llvm-project
Removed duplicate SSE42 builtin tests from avx-builtins.c
llvm-svn: 269932
This commit is contained in:
parent
519c78f3ae
commit
a090864762
|
@ -24,76 +24,6 @@ __m256i test__mm256_loadu_si256(void* p) {
|
|||
return _mm256_loadu_si256(p);
|
||||
}
|
||||
|
||||
__m128i test_mm_cmpestrm(__m128i A, int LA, __m128i B, int LB) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpestrm128
|
||||
return _mm_cmpestrm(A, LA, B, LB, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpestri(__m128i A, int LA, __m128i B, int LB) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpestri128
|
||||
return _mm_cmpestri(A, LA, B, LB, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpestra(__m128i A, int LA, __m128i B, int LB) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpestria128
|
||||
return _mm_cmpestra(A, LA, B, LB, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpestrc(__m128i A, int LA, __m128i B, int LB) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpestric128
|
||||
return _mm_cmpestrc(A, LA, B, LB, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpestro(__m128i A, int LA, __m128i B, int LB) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpestrio128
|
||||
return _mm_cmpestro(A, LA, B, LB, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpestrs(__m128i A, int LA, __m128i B, int LB) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpestris128
|
||||
return _mm_cmpestrs(A, LA, B, LB, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpestrz(__m128i A, int LA, __m128i B, int LB) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpestriz128
|
||||
return _mm_cmpestrz(A, LA, B, LB, 7);
|
||||
}
|
||||
|
||||
__m128i test_mm_cmpistrm(__m128i A, __m128i B) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpistrm128
|
||||
return _mm_cmpistrm(A, B, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpistri(__m128i A, __m128i B) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpistri128
|
||||
return _mm_cmpistri(A, B, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpistra(__m128i A, __m128i B) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpistria128
|
||||
return _mm_cmpistra(A, B, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpistrc(__m128i A, __m128i B) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpistric128
|
||||
return _mm_cmpistrc(A, B, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpistro(__m128i A, __m128i B) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpistrio128
|
||||
return _mm_cmpistro(A, B, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpistrs(__m128i A, __m128i B) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpistris128
|
||||
return _mm_cmpistrs(A, B, 7);
|
||||
}
|
||||
|
||||
int test_mm_cmpistrz(__m128i A, __m128i B) {
|
||||
// CHECK: @llvm.x86.sse42.pcmpistriz128
|
||||
return _mm_cmpistrz(A, B, 7);
|
||||
}
|
||||
|
||||
int test_extract_epi32(__m256i __a) {
|
||||
// CHECK-LABEL: @test_extract_epi32
|
||||
// CHECK: [[SHIFT1:%[^ ]+]] = and i32 %{{.*}}, 7
|
||||
|
|
Loading…
Reference in New Issue