From 53800bd41301e0bfe8672f6d78a23558ab584b70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 11 Nov 2013 14:38:28 +0100 Subject: [PATCH] Disable the hand-coded NEON texture hash again. It's slow, for unknown reasons. --- 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 fc7750a657..4cf09dd249 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 0 +#if 1 uint32x4_t cursor = vdupq_n_u32(0); uint32x4_t cursor2 = vld1q_u32((const u32 *)QuickTexHashInitial); uint32x4_t update = vdupq_n_u32(0x24552455U); @@ -114,4 +114,4 @@ u32 QuickTexHashNEON(const void *checkp, u32 size) { } return check; -} \ No newline at end of file +}