Use XXH64 on 64-bit systems.

I'm not able to reproduce any real performance difference, but I know
there are some games which do more hashing and it may help there.
This commit is contained in:
Unknown W. Brackets 2014-10-26 17:49:24 -07:00
parent 139277bc1a
commit 2b16b5b79b
12 changed files with 66 additions and 32 deletions

View file

@ -177,7 +177,7 @@ void DoUnswizzleTex16NEON(const u8 *texptr, u32 *ydestp, int bxc, int byc, u32 p
# define XXH_rotl32(x,r) ((x << r) | (x >> (32 - r)))
#endif
u32 ReliableHashNEON(const void *input, int len, u32 seed) {
u32 ReliableHash32NEON(const void *input, size_t len, u32 seed) {
const u8 *p = (const u8 *)input;
const u8 *const bEnd = p + len;
U32 h32;