]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Increase size of spill area from 96 bytes to 400 bytes.
authorJulian Seward <jseward@acm.org>
Thu, 19 Aug 2004 10:50:41 +0000 (10:50 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 19 Aug 2004 10:50:41 +0000 (10:50 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@179

VEX/hacked104/vg_include.h
VEX/priv/host-generic/reg_alloc.c
VEX/priv/host-x86/hdefs.c

index 0d904ea3fd2444fca110cf16dc2ea49452efaf59..b97b842a887eecab5cacd97edcb0b9f2794389b0 100644 (file)
@@ -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. */
index 30158a08b100a2b3511205d29b5781aeceaeb1e6..7d4e4c2ba6e5d1b63c7687b07ad4e3ca74f73a56 100644 (file)
@@ -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)
index ccc6b5f32f6a716b54b031737d6a7270fb7010d4..abe07f40faf84c660434289d0f3f7e6041f79e81 100644 (file)
@@ -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: