|
From: <sv...@va...> - 2005-10-19 11:23:13
|
Author: sewardj Date: 2005-10-19 12:23:07 +0100 (Wed, 19 Oct 2005) New Revision: 4947 Log: 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. Modified: trunk/coregrind/pub_core_transtab_asm.h Modified: trunk/coregrind/pub_core_transtab_asm.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/pub_core_transtab_asm.h 2005-10-19 10:14:19 UTC (rev = 4946) +++ trunk/coregrind/pub_core_transtab_asm.h 2005-10-19 11:23:07 UTC (rev = 4947) @@ -32,7 +32,7 @@ #define __PUB_CORE_TRANSTAB_ASM_H =20 /* 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) =20 |