From: Christian Borntraeger Date: Tue, 21 Apr 2015 12:27:09 +0000 (+0000) Subject: increase function size even more (see r15095). On s390 this testcase X-Git-Tag: svn/VALGRIND_3_11_0~477 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8edce29b97c00153fd2bef62f086d8044ebe80fb;p=thirdparty%2Fvalgrind.git increase function size even more (see r15095). On s390 this testcase might use a relative load (e.g. via load address relative long(larl) for the address) into the literal pool for some constants. 1280 seems to be enough that the r/o data is copied along the function. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15121 --- diff --git a/perf/bigcode.c b/perf/bigcode.c index 8cb1cd223c..8e12d7bff7 100644 --- a/perf/bigcode.c +++ b/perf/bigcode.c @@ -20,7 +20,8 @@ #endif #include "tests/sys_mman.h" -#define FN_SIZE 1024 // Must be big enough to hold the compiled f() +#define FN_SIZE 1280 // Must be big enough to hold the compiled f() + // and any literal pool that might be used #define N_LOOPS 20000 // Should be divisible by four #define RATIO 4 // Ratio of code sizes between the two modes