mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 11:54:30 +01:00
Add a NEON-optimized version of XXH32.
This takes at least 40% less time to hash on NEON/ARM devices.
This commit is contained in:
1 parent
3ec61274fa
commit
b800762ceb
8 files changed
+118
-12
No files matched your search
@@ -734,7 +734,7 @@ void TextureCache::UpdateCurrentClut() {
|
||||
// If not, we're going to hash random data, which hopefully doesn't cause a performance issue.
|
||||
const u32 clutExtendedBytes = clutTotalBytes_ + clutBaseBytes;
|
||||
|
||||
clutHash_ = XXH32((const char *)clutBufRaw_, clutExtendedBytes, 0xC0108888);
|
||||
clutHash_ = DoReliableHash((const char *)clutBufRaw_, clutExtendedBytes, 0xC0108888);
|
||||
|
||||
// Avoid a copy when we don't need to convert colors.
|
||||
if (clutFormat != GE_CMODE_32BIT_ABGR8888) {
|
||||
|
||||
Reference in new issue
Block a user