]> granicus.if.org Git - clang/commitdiff
Updated test names to match the intrinsics being tested
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 5 Dec 2015 11:08:51 +0000 (11:08 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 5 Dec 2015 11:08:51 +0000 (11:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254848 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/sse3-builtins.c
test/CodeGen/sse4a-builtins.c

index 5064841ec728ab488da8e953c1e669a44da596b0..71a34e9372a25778c69288c58c5f58f50301cf1a 100644 (file)
@@ -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);
 }
index aee61b7d1e382bf622dd55fb9d68692764d3ee5b..9a408b8bf4b5668656cfc5b90cbcd47b33b13e61 100644 (file)
@@ -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);
 }