Skip to content

Commit 9338627

Browse files
committed
Update test cases to use double precision
1 parent c552207 commit 9338627

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
@@ -10502,7 +10502,7 @@ __m512d test_mm512_set_pd (double __A, double __B, double __C, double __D,
1050210502
//CHECK: insertelement{{.*}}i32 7
1050310503
return _mm512_set_pd( __A, __B, __C, __D, __E, __F, __G, __H);
1050410504
}
10505-
TEST_CONSTEXPR(match_m512d(_mm512_set_pd(200, 400, 600, 800, 1000, 1200, 1400, 1600), 200, 400, 600, 800, 1000, 1200, 1400, 1600));
10505+
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));
1050610506

1050710507
__m512d test_mm512_setr_pd (double __A, double __B, double __C, double __D,
1050810508
double __E, double __F, double __G, double __H)
@@ -10526,7 +10526,7 @@ __m512d test_mm512_setr_pd (double __A, double __B, double __C, double __D,
1052610526
//CHECK: insertelement{{.*}}i32 7
1052710527
return _mm512_setr_pd( __A, __B, __C, __D, __E, __F, __G, __H);
1052810528
}
10529-
TEST_CONSTEXPR(match_m512d(_mm512_setr_pd(-20, 40, -60, 80, -100, 120, -140, 160), -20, 40, -60, 80, -100, 120, -140, 160));
10529+
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));
1053010530

1053110531
__m512 test_mm512_set_ps (float __A, float __B, float __C, float __D,
1053210532
float __E, float __F, float __G, float __H,

0 commit comments

Comments
 (0)