From 662ad32d4fcffdb70a1da2b7e5adda010d1c376c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 11 Nov 2013 17:12:09 +0100 Subject: [PATCH] Fix and re-enable @unknownbracket's handcoded NEON tex hash --- GPU/Common/TextureDecoderNEON.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPU/Common/TextureDecoderNEON.cpp b/GPU/Common/TextureDecoderNEON.cpp index 4cf09dd249..06761ff6b7 100644 --- a/GPU/Common/TextureDecoderNEON.cpp +++ b/GPU/Common/TextureDecoderNEON.cpp @@ -29,7 +29,7 @@ u32 QuickTexHashNEON(const void *checkp, u32 size) { __builtin_prefetch(checkp, 0, 0); if (((intptr_t)checkp & 0xf) == 0 && (size & 0x3f) == 0) { -#if 1 +#if 0 uint32x4_t cursor = vdupq_n_u32(0); uint32x4_t cursor2 = vld1q_u32((const u32 *)QuickTexHashInitial); uint32x4_t update = vdupq_n_u32(0x24552455U); @@ -66,7 +66,7 @@ u32 QuickTexHashNEON(const void *checkp, u32 size) { "movt r0, 0x4b73\n" "movw r1, 0x9bd9\n" "movt r1, 0xc00b\n" - "vmov d2, r0, r1\n" + "vmov d3, r0, r1\n" // Initialize update. "movw r0, 0x2455\n"