diff options
-rw-r--r-- | clang/test/CodeGen/sse3-builtins.c | 4 | ||||
-rw-r--r-- | clang/test/CodeGen/sse4a-builtins.c | 24 |
2 files changed, 14 insertions, 14 deletions
diff --git a/clang/test/CodeGen/sse3-builtins.c b/clang/test/CodeGen/sse3-builtins.c index 5064841ec72..71a34e9372a 100644 --- a/clang/test/CodeGen/sse3-builtins.c +++ b/clang/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> <i32 0, i32 0, i32 2, i32 2> return _mm_moveldup_ps(A); } diff --git a/clang/test/CodeGen/sse4a-builtins.c b/clang/test/CodeGen/sse4a-builtins.c index aee61b7d1e3..9a408b8bf4b 100644 --- a/clang/test/CodeGen/sse4a-builtins.c +++ b/clang/test/CodeGen/sse4a-builtins.c @@ -5,38 +5,38 @@ #include <x86intrin.h> -__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); } |