irjit: Switch to XXH3.

This commit is contained in:
Unknown W. Brackets committed 2020-08-27 20:40:55 -07:00
1 parent 15c25be42b
commit 53d9c10b22
3 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -41,12 +41,12 @@ bool isInInterval(u32 start, u32 size, u32 value)
}
static u32 computeHash(u32 address, u32 size)
static HashType computeHash(u32 address, u32 size)
{
#ifdef _M_X64
return XXH64(Memory::GetPointer(address), size, 0xBACD7814BACD7814LL);
return XXH3_64bits(Memory::GetPointer(address), size);
#else
return XXH32(Memory::GetPointer(address), size, 0xBACD7814);
return XXH3_64bits(Memory::GetPointer(address), size) & 0xFFFFFFFF;
#endif
}