]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Merge, from trunk, r13688: move host code closer to generate code to
authorJulian Seward <jseward@acm.org>
Fri, 25 Oct 2013 06:27:19 +0000 (06:27 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 25 Oct 2013 06:27:19 +0000 (06:27 +0000)
improve branch predictor performance.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_9_BRANCH@13695

configure.ac

index d9acbc11993c3eda6fd11e588b4e34ec7b87e9d1..35647444f6954872d8cbd399788c62c41cc307c2 100644 (file)
@@ -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})])