Skip to content

Commit 6283f24

Browse files
authored
Merge pull request #40 from r-devulap/old-gcc-fix
Replace intrinsic missing from g++-7
2 parents d2dc8ab + 4a77fe6 commit 6283f24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/avx512-64bit-common.h

+2-2
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)