diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-16 14:53:34 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-16 14:54:28 +0200 |
commit | 543192e045d1b0866c353f1f6af2f3a3d81319c7 (patch) | |
tree | 6540997fc01144894699abfc03ef856283afb0c0 /src/common/hash.cpp | |
parent | general: Silence some warnings when using clang (diff) | |
download | yuzu-543192e045d1b0866c353f1f6af2f3a3d81319c7.tar yuzu-543192e045d1b0866c353f1f6af2f3a3d81319c7.tar.gz yuzu-543192e045d1b0866c353f1f6af2f3a3d81319c7.tar.bz2 yuzu-543192e045d1b0866c353f1f6af2f3a3d81319c7.tar.lz yuzu-543192e045d1b0866c353f1f6af2f3a3d81319c7.tar.xz yuzu-543192e045d1b0866c353f1f6af2f3a3d81319c7.tar.zst yuzu-543192e045d1b0866c353f1f6af2f3a3d81319c7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/hash.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/common/hash.cpp b/src/common/hash.cpp index 413e9c6f1..c49c2f60e 100644 --- a/src/common/hash.cpp +++ b/src/common/hash.cpp @@ -17,27 +17,11 @@ namespace Common { // Block read - if your platform needs to do endian-swapping or can only handle aligned reads, do // the conversion here - -static FORCE_INLINE u32 getblock32(const u32* p, int i) { - return p[i]; -} - static FORCE_INLINE u64 getblock64(const u64* p, int i) { return p[i]; } // Finalization mix - force all bits of a hash block to avalanche - -static FORCE_INLINE u32 fmix32(u32 h) { - h ^= h >> 16; - h *= 0x85ebca6b; - h ^= h >> 13; - h *= 0xc2b2ae35; - h ^= h >> 16; - - return h; -} - static FORCE_INLINE u64 fmix64(u64 k) { k ^= k >> 33; k *= 0xff51afd7ed558ccdllu; |