Skip to content

Commit 4a77fe6

Browse files
committed
Replace intrinsic missing from g++-7
1 parent d2dc8ab commit 4a77fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/avx512-64bit-common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ struct ymm_vector<uint32_t> {
285285
}
286286
static void storeu(void *mem, zmm_t x)
287287
{
288-
_mm256_storeu_epi32(mem, x);
288+
_mm256_storeu_si256((__m256i*) mem, x);
289289
}
290290
};
291291
template <>
@@ -414,7 +414,7 @@ struct ymm_vector<int32_t> {
414414
}
415415
static void storeu(void *mem, zmm_t x)
416416
{
417-
_mm256_storeu_epi32(mem, x);
417+
_mm256_storeu_si256((__m256i*) mem, x);
418418
}
419419
};
420420
template <>

0 commit comments

Comments
 (0)