From: Julian Seward Date: Sun, 15 Nov 2020 17:28:09 +0000 (+0100) Subject: memcheck: on arm64, use expensive instrumentation for Cmp{EQ,NE}64 by default. X-Git-Tag: VALGRIND_3_17_0~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=359b98828ced9cfff8c1badfed75c7ef999cfee5;p=thirdparty%2Fvalgrind.git memcheck: on arm64, use expensive instrumentation for Cmp{EQ,NE}64 by default. --- diff --git a/memcheck/mc_translate.c b/memcheck/mc_translate.c index b32c9c9c53..e91d510946 100644 --- a/memcheck/mc_translate.c +++ b/memcheck/mc_translate.c @@ -8485,6 +8485,8 @@ IRSB* MC_(instrument) ( VgCallbackClosure* closure, # elif defined(VGA_ppc64le) // Needed by (at least) set_AV_CR6() in the front end. mce.dlbo.dl_CmpEQ64_CmpNE64 = DLexpensive; +# elif defined(VGA_arm64) + mce.dlbo.dl_CmpEQ64_CmpNE64 = DLexpensive; # endif /* preInstrumentationAnalysis() will allocate &mce.tmpHowUsed and then