From 5fd6e510286c9cc55ea2a2b5784f5d000dc95d2e Mon Sep 17 00:00:00 2001 From: Falco Girgis Date: Wed, 10 Apr 2024 01:09:29 -0500 Subject: [PATCH] Readded prefetching. --- GL/platforms/sh4.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GL/platforms/sh4.h b/GL/platforms/sh4.h index 4cdf85a..46c3513 100644 --- a/GL/platforms/sh4.h +++ b/GL/platforms/sh4.h @@ -24,8 +24,7 @@ #define GL_FORCE_INLINE static GL_INLINE_DEBUG #endif -#define PREFETCH(addr) (void) 0 -//__builtin_prefetch((addr)) +#define PREFETCH(addr) __builtin_prefetch((addr)) GL_FORCE_INLINE void* memcpy_fast(void *dest, const void *src, size_t len) { if(!len) {