Skip to content

Commit 38911a8

Browse files
committed
Fix AVX2 store test alignment
1 parent 3440872 commit 38911a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/UnitTest/test_simd.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2742,7 +2742,7 @@ TEST(vfloat8, store)
27422742
vfloat8 a(f32_data);
27432743

27442744
alignas(32) float ra[9];
2745-
storea(a, ra + 1);
2745+
store(a, ra + 1);
27462746

27472747
EXPECT_EQ(ra[1], 0.0f);
27482748
EXPECT_EQ(ra[2], 1.0f);
@@ -2760,7 +2760,7 @@ TEST(vfloat8, storea)
27602760
vfloat8 a(f32_data);
27612761

27622762
alignas(32) float ra[8];
2763-
store(a, ra);
2763+
storea(a, ra);
27642764

27652765
EXPECT_EQ(ra[0], 0.0f);
27662766
EXPECT_EQ(ra[1], 1.0f);

0 commit comments

Comments
 (0)