From: Julian Seward Date: Thu, 19 Aug 2004 10:50:41 +0000 (+0000) Subject: Increase size of spill area from 96 bytes to 400 bytes. X-Git-Tag: svn/VALGRIND_3_0_1^2~1155 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05f2b0facfb462e08bd0f3bc357024d5127d4537;p=thirdparty%2Fvalgrind.git Increase size of spill area from 96 bytes to 400 bytes. git-svn-id: svn://svn.valgrind.org/vex/trunk@179 --- diff --git a/VEX/hacked104/vg_include.h b/VEX/hacked104/vg_include.h index 0d904ea3fd..b97b842a88 100644 --- a/VEX/hacked104/vg_include.h +++ b/VEX/hacked104/vg_include.h @@ -72,7 +72,7 @@ doesn't make it into a RealReg. Just bomb the entire system if this value is too small; we don't expect it will ever get particularly high. */ -#define VG_MAX_SPILLSLOTS 24 +#define VG_MAX_SPILLSLOTS 100 /* Constants for the slow translation lookup cache. */ diff --git a/VEX/priv/host-generic/reg_alloc.c b/VEX/priv/host-generic/reg_alloc.c index 30158a08b1..7d4e4c2ba6 100644 --- a/VEX/priv/host-generic/reg_alloc.c +++ b/VEX/priv/host-generic/reg_alloc.c @@ -16,7 +16,7 @@ #define DEBUG_REGALLOC 0 /* How many 64-bit sized spill slots do we have? */ -#define N_SPILL64S 12 +#define N_SPILL64S 50 /* TODO (critical) diff --git a/VEX/priv/host-x86/hdefs.c b/VEX/priv/host-x86/hdefs.c index ccc6b5f32f..abe07f40fa 100644 --- a/VEX/priv/host-x86/hdefs.c +++ b/VEX/priv/host-x86/hdefs.c @@ -960,7 +960,7 @@ X86Instr* genSpill_X86 ( HReg rreg, Int offset ) { Int base = 4 * 51; vassert(offset >= 0); - vassert(offset <= 4*(24-1)); + vassert(offset <= 4*(100-1)); vassert(!hregIsVirtual(rreg)); switch (hregClass(rreg)) { case HRcInt: @@ -978,7 +978,7 @@ X86Instr* genReload_X86 ( HReg rreg, Int offset ) { Int base = 4 * 51; vassert(offset >= 0); - vassert(offset <= 4*(24-1)); + vassert(offset <= 4*(100-1)); vassert(!hregIsVirtual(rreg)); switch (hregClass(rreg)) { case HRcInt: