From f9e4152bac9ec3e7dbd3d73bfb29c4949ce0b11b Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Sun, 25 Sep 2011 00:05:31 +0000 Subject: [PATCH] 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 --- VEX/pub/libvex_s390x_common.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) /*--------------------------------------------------------------*/ -- 2.47.2