From: Simon Pilgrim Date: Sat, 5 Dec 2015 11:08:51 +0000 (+0000) Subject: Updated test names to match the intrinsics being tested X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59c1037f6804bef4babf073951c46eed2a0d0fa5;p=clang Updated test names to match the intrinsics being tested git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254848 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/sse3-builtins.c b/test/CodeGen/sse3-builtins.c index 5064841ec7..71a34e9372 100644 --- a/test/CodeGen/sse3-builtins.c +++ b/test/CodeGen/sse3-builtins.c @@ -65,8 +65,8 @@ __m128 test_mm_movehdup_ps(__m128 A) { return _mm_movehdup_ps(A); } -__m128 test_mm_movedup_ps(__m128 A) { - // CHECK-LABEL: test_mm_movedup_ps +__m128 test_mm_moveldup_ps(__m128 A) { + // CHECK-LABEL: test_mm_moveldup_ps // CHECK: shufflevector <4 x float> %{{.*}}, <4 x float> %{{.*}}, <4 x i32> return _mm_moveldup_ps(A); } diff --git a/test/CodeGen/sse4a-builtins.c b/test/CodeGen/sse4a-builtins.c index aee61b7d1e..9a408b8bf4 100644 --- a/test/CodeGen/sse4a-builtins.c +++ b/test/CodeGen/sse4a-builtins.c @@ -5,38 +5,38 @@ #include -__m128i test_extracti_si64(__m128i x) { - // CHECK-LABEL: test_extracti_si64 +__m128i test_mm_extracti_si64(__m128i x) { + // CHECK-LABEL: test_mm_extracti_si64 // CHECK: call <2 x i64> @llvm.x86.sse4a.extrqi(<2 x i64> %{{[^,]+}}, i8 3, i8 2) return _mm_extracti_si64(x, 3, 2); } -__m128i test_extract_si64(__m128i x, __m128i y) { - // CHECK-LABEL: test_extract_si64 +__m128i test_mm_extract_si64(__m128i x, __m128i y) { + // CHECK-LABEL: test_mm_extract_si64 // CHECK: call <2 x i64> @llvm.x86.sse4a.extrq(<2 x i64> %{{[^,]+}}, <16 x i8> %{{[^,]+}}) return _mm_extract_si64(x, y); } -__m128i test_inserti_si64(__m128i x, __m128i y) { - // CHECK-LABEL: test_inserti_si64 +__m128i test_mm_inserti_si64(__m128i x, __m128i y) { + // CHECK-LABEL: test_mm_inserti_si64 // CHECK: call <2 x i64> @llvm.x86.sse4a.insertqi(<2 x i64> %{{[^,]+}}, <2 x i64> %{{[^,]+}}, i8 5, i8 6) return _mm_inserti_si64(x, y, 5, 6); } -__m128i test_insert_si64(__m128i x, __m128i y) { - // CHECK-LABEL: test_insert_si64 +__m128i test_mm_insert_si64(__m128i x, __m128i y) { + // CHECK-LABEL: test_mm_insert_si64 // CHECK: call <2 x i64> @llvm.x86.sse4a.insertq(<2 x i64> %{{[^,]+}}, <2 x i64> %{{[^,]+}}) return _mm_insert_si64(x, y); } -void test_stream_sd(double *p, __m128d a) { - // CHECK-LABEL: test_stream_sd +void test_mm_stream_sd(double *p, __m128d a) { + // CHECK-LABEL: test_mm_stream_sd // CHECK: call void @llvm.x86.sse4a.movnt.sd(i8* %{{[^,]+}}, <2 x double> %{{[^,]+}}) _mm_stream_sd(p, a); } -void test_stream_ss(float *p, __m128 a) { - // CHECK-LABEL: test_stream_ss +void test_mm_stream_ss(float *p, __m128 a) { + // CHECK-LABEL: test_mm_stream_ss // CHECK: call void @llvm.x86.sse4a.movnt.ss(i8* %{{[^,]+}}, <4 x float> %{{[^,]+}}) _mm_stream_ss(p, a); }