From: Julian Seward Date: Wed, 19 Oct 2005 11:23:07 +0000 (+0000) Subject: Halve the size of the fast tt lookup cache. This improves ppc32 X-Git-Tag: svn/VALGRIND_3_1_0~285 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a55c24c5d7d7ff0156b7272936afca0b8ff79874;p=thirdparty%2Fvalgrind.git Halve the size of the fast tt lookup cache. This improves ppc32 performance quite a bit, since the cache is emptied quite often on ppc32, and a smaller cache is less intrusive in the real machine's L2 cache. On x86 the change doesn't seem to have much effect. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4947 --- diff --git a/coregrind/pub_core_transtab_asm.h b/coregrind/pub_core_transtab_asm.h index 60be732666..6041dcda39 100644 --- a/coregrind/pub_core_transtab_asm.h +++ b/coregrind/pub_core_transtab_asm.h @@ -32,7 +32,7 @@ #define __PUB_CORE_TRANSTAB_ASM_H /* Constants for the fast translation lookup cache. */ -#define VG_TT_FAST_BITS 16 +#define VG_TT_FAST_BITS 15 #define VG_TT_FAST_SIZE (1 << VG_TT_FAST_BITS) #define VG_TT_FAST_MASK ((VG_TT_FAST_SIZE) - 1)