]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Improve performance of smc-checks substantially, by:
authorJulian Seward <jseward@acm.org>
Mon, 10 Jan 2011 15:09:23 +0000 (15:09 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 10 Jan 2011 15:09:23 +0000 (15:09 +0000)
(1) allowing translations to chase across BB boundaries, as in the
    non-smc-check case

(2) on 64-bit targets, do the checksumming with 64-bit loads
    instead of 32-bit ones.

(valgrind-side change, to match vex r2070)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11495

coregrind/m_translate.c

index 41a2e71b4e9bcdd9e6c6e0c56a687cbead1ee5d2..87b3cae29a785c99001e1da7ff5c2db4b7481d5c 100644 (file)
@@ -752,10 +752,6 @@ static Bool chase_into_ok ( void* closureV, Addr64 addr64 )
    if (!translations_allowable_from_seg(seg))
       goto dontchase;
 
-   /* Destination requires a self-check? */
-   if (self_check_required(seg, closure->tid))
-      goto dontchase;
-
    /* Destination is redirected? */
    if (addr != VG_(redir_do_lookup)(addr, NULL))
       goto dontchase;