From: Florian Krohm Date: Sun, 25 Sep 2011 00:05:31 +0000 (+0000) Subject: Add another slot on the stack frame used in the dispatcher. X-Git-Tag: svn/VALGRIND_3_7_0^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9e4152bac9ec3e7dbd3d73bfb29c4949ce0b11b;p=thirdparty%2Fvalgrind.git Add another slot on the stack frame used in the dispatcher. It is used by the profiling dispatcher to store the IA between iterations. git-svn-id: svn://svn.valgrind.org/vex/trunk@2208 --- diff --git a/VEX/pub/libvex_s390x_common.h b/VEX/pub/libvex_s390x_common.h index f23bc9c5b2..95efef6b5a 100644 --- a/VEX/pub/libvex_s390x_common.h +++ b/VEX/pub/libvex_s390x_common.h @@ -52,6 +52,9 @@ /*--- Offsets in the stack frame allocated by the dispatcher ---*/ /*--------------------------------------------------------------*/ +/* Where the profiling dispatcher saves the r2 contents. */ +#define S390_OFFSET_SAVED_R2 160+96 + /* Where client's FPC register is saved. */ #define S390_OFFSET_SAVED_FPC_C 160+88 @@ -67,12 +70,12 @@ /* Size of frame allocated by VG_(run_innerloop) Need size for 8 FPRs - + 2 GPRs (SAVED_GSP and SAVED_LR) + + 3 GPRs (SAVED_GSP, SAVED_LR, and SAVED_R2) + 2 FPCs (SAVED_FPC_C and SAVED_FPC_V). Additionally, we need a standard frame for helper functions being called from client code. (See figure 1-16 in zSeries ABI) */ -#define S390_INNERLOOP_FRAME_SIZE ((8+2+2)*8 + 160) +#define S390_INNERLOOP_FRAME_SIZE ((8+3+2)*8 + 160) /*--------------------------------------------------------------*/