summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Hash.cpp
AgeCommit message (Collapse)Author
2015-10-06Include cstring in Hash.cpp to fix building without PCHChristian Widmer
2015-08-29Hash: Narrow define scopeLioncash
2015-06-08[AArch64] Implement CRC32 texture hashing.Ryan Houdek
In a particular hashing heavy scene in Crazy Taxi the Murmur3 hash used 3.11% CPU time. The new CRC32 hash in the same scene used 1.86% This was tested on a Nvidia SHIELD Android TV with Cortex-A57s. This will be a bit slower on the Nexus 9, the Denver CPU core is a bit slower with CRC32 texture hashing than Murmur3 texture hashing.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-02-25Formatting/Whitespace CleanupStevoisiak
Various fixes to formatting and whitespace
2015-02-24Clean up the intrinsics #ifdef messTillmann Karras
2015-02-18GetCRC32: Fix the hash for the last byte(s)mimimi085181
This fixes issue 8227 https://code.google.com/p/dolphin-emu/issues/detail?id=8227
2015-01-29Fix clang on x86_64.Ryan Houdek
If we are compiling in the CRC32 hash, clang has an issue with casting a s32 to a u64. Change our lens argument to a unsigned integer to fix the issue.
2014-12-29VideoCommon: make hash independet from hires texturesdegasus
2014-10-18Use CRC to output 64 bits instead of 32Fiora
A bit hacky, but should dramatically reduce the odds of hash collision.
2014-10-17Hash: unroll CRC loop, since CRC32 typically has nontrivial latencyFiora
Seems to be about 20-30% faster texture cache hashing on my machine.
2014-09-19Fix build failing when disabling precompiled headers.Rohit Nirmal
2014-05-29Remove the min/max functions in CommonFuncs.Lioncash
The algorithm header has the same functions.
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-04Make our architecture defines less stupid.Ryan Houdek
Our defines were never clear between what meant 64bit or x86_64 This makes a clear cut between bitness and architecture. This commit also has the side effect of bringing up aarch64 compiling support.
2014-02-18Convert all includes to relative paths.Lioncash
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre