summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-12 12:12:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-12 12:12:46 +0200
commit21aaee95f76fc832af93ffcc0dd1d6d1e642ef6b (patch)
tree1666e720cc76474f3dc7e499d88edb6ca6efd15d /compat
parent9ce86d2bc8d4260709c41eeffc8922bc51bcf865 (diff)
a
Diffstat (limited to 'compat')
-rw-r--r--compat/int-hash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/int-hash.cpp b/compat/int-hash.cpp
index f9ae19c1..5847e284 100644
--- a/compat/int-hash.cpp
+++ b/compat/int-hash.cpp
@@ -39,7 +39,7 @@ uint64_t fnvhash_32(const void* buf, size_t size)
{
const auto *str = (const char*)buf, *const end = str + size;
uint32_t hash = 0x811c9dc5u;
-fm_UNROLL_8
+fm_UNROLL_4
for (; str != end; ++str)
{
hash *= 0x01000193u;
@@ -52,7 +52,7 @@ uint64_t fnvhash_64(const void* buf, size_t size)
{
const auto *str = (const char*)buf, *const end = str + size;
uint64_t hash = 0xcbf29ce484222325u;
-fm_UNROLL_4
+fm_UNROLL_8
for (; str != end; ++str)
{
hash *= 0x100000001b3u;