From 04c2fcceaee4b02f8e4896422bf512b2e5e9d96a Mon Sep 17 00:00:00 2001 From: Falco Girgis Date: Wed, 31 Jan 2024 14:59:58 -0600 Subject: [PATCH] Getting rid of prefetching. --- GL/platforms/sh4.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GL/platforms/sh4.h b/GL/platforms/sh4.h index 46c3513..4cdf85a 100644 --- a/GL/platforms/sh4.h +++ b/GL/platforms/sh4.h @@ -24,7 +24,8 @@ #define GL_FORCE_INLINE static GL_INLINE_DEBUG #endif -#define PREFETCH(addr) __builtin_prefetch((addr)) +#define PREFETCH(addr) (void) 0 +//__builtin_prefetch((addr)) GL_FORCE_INLINE void* memcpy_fast(void *dest, const void *src, size_t len) { if(!len) {