From: Julian Seward Date: Fri, 25 Oct 2013 06:27:19 +0000 (+0000) Subject: Merge, from trunk, r13688: move host code closer to generate code to X-Git-Tag: svn/VALGRIND_3_9_0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c26740dc6d21d23b5c16f0310269e7e5ad915c3c;p=thirdparty%2Fvalgrind.git Merge, from trunk, r13688: move host code closer to generate code to improve branch predictor performance. git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_9_BRANCH@13695 --- diff --git a/configure.ac b/configure.ac index d9acbc1199..35647444f6 100644 --- a/configure.ac +++ b/configure.ac @@ -564,9 +564,10 @@ case "$ARCH_MAX-$VGCONF_OS" in VGCONF_ARCH_SEC="" VGCONF_PLATFORM_PRI_CAPS="S390X_LINUX" VGCONF_PLATFORM_SEC_CAPS="" - # we want to have the generated code close to the dispatcher - valt_load_address_pri_norml="0x401000000" - valt_load_address_pri_inner="0x410000000" + # To improve branch prediction hit rate we want to have + # the generated code close to valgrind (host) code + valt_load_address_pri_norml="0x800000000" + valt_load_address_pri_inner="0x810000000" valt_load_address_sec_norml="0xUNSET" valt_load_address_sec_inner="0xUNSET" AC_MSG_RESULT([ok (${ARCH_MAX}-${VGCONF_OS})])