Skip to content

Commit 8c77293

Browse files
committed
Update test cases to use double precision
1 parent 12080a9 commit 8c77293

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CodeGen/X86/avx512f-builtins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10482,7 +10482,7 @@ __m512d test_mm512_set_pd (double __A, double __B, double __C, double __D,
1048210482
//CHECK: insertelement{{.*}}i32 7
1048310483
return _mm512_set_pd( __A, __B, __C, __D, __E, __F, __G, __H);
1048410484
}
10485-
TEST_CONSTEXPR(match_m512d(_mm512_set_pd(200, 400, 600, 800, 1000, 1200, 1400, 1600), 200, 400, 600, 800, 1000, 1200, 1400, 1600));
10485+
TEST_CONSTEXPR(match_m512d(_mm512_set_pd(20.0, 40.0, 60.0, 80.0, 100.0, 120.0, 140.0, 160.0), 20.0, 40.0, 60.0, 80.0, 100.0, 120.0, 140.0, 160.0));
1048610486

1048710487
__m512d test_mm512_setr_pd (double __A, double __B, double __C, double __D,
1048810488
double __E, double __F, double __G, double __H)
@@ -10506,7 +10506,7 @@ __m512d test_mm512_setr_pd (double __A, double __B, double __C, double __D,
1050610506
//CHECK: insertelement{{.*}}i32 7
1050710507
return _mm512_setr_pd( __A, __B, __C, __D, __E, __F, __G, __H);
1050810508
}
10509-
TEST_CONSTEXPR(match_m512d(_mm512_setr_pd(-20, 40, -60, 80, -100, 120, -140, 160), -20, 40, -60, 80, -100, 120, -140, 160));
10509+
TEST_CONSTEXPR(match_m512d(_mm512_setr_pd(-20.0, 40.0, -60.0, 80.0, -100.0, 120.0, -140.0, 160.0), -20.0, 40.0, -60.0, 80.0, -100.0, 120.0, -140.0, 160.0));
1051010510

1051110511
__m512 test_mm512_set_ps (float __A, float __B, float __C, float __D,
1051210512
float __E, float __F, float __G, float __H,

0 commit comments

Comments
 (0)