mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
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
This commit is contained in:
parent
073c102b95
commit
a55c24c5d7
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user