mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
Update zstd_lazy.c
switch to unaligned load as I don't know if buffer will always be aligned to 32 bytes, and compilers aside from MSVC might actually use aligned loads
This commit is contained in:
parent
69ac124b12
commit
0e071214b5
@ -928,7 +928,7 @@ typedef struct {
|
||||
|
||||
static ZSTD_Vec256 ZSTD_Vec256_read(const void* const ptr) {
|
||||
ZSTD_Vec256 v;
|
||||
v.v = _mm256_load_si256((const __m256i*)ptr);
|
||||
v.v = _mm256_loadu_si256((const __m256i*)ptr);
|
||||
return v;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user