mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Fix big endian ARM NEON path
It is not using the NEON acceleration but the bit grouping was applied
This commit is contained in:
parent
3b1bd91852
commit
05f3f415ce
1 changed files with 4 additions and 0 deletions
|
|
@ -965,6 +965,10 @@ ZSTD_row_matchMaskGroupWidth(const U32 rowEntries)
|
|||
assert(rowEntries <= ZSTD_ROW_HASH_MAX_ENTRIES);
|
||||
(void)rowEntries;
|
||||
#if defined(ZSTD_ARCH_ARM_NEON)
|
||||
/* NEON path only works for little endian */
|
||||
if (!MEM_isLittleEndian()) {
|
||||
return 1;
|
||||
}
|
||||
if (rowEntries == 16) {
|
||||
return 4;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue