]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
memcheck: on arm64, use expensive instrumentation for Cmp{EQ,NE}64 by default.
authorJulian Seward <jseward@acm.org>
Sun, 15 Nov 2020 17:28:09 +0000 (18:28 +0100)
committerJulian Seward <jseward@acm.org>
Sun, 15 Nov 2020 17:28:09 +0000 (18:28 +0100)
memcheck/mc_translate.c

index b32c9c9c53c83275e66f04731cbb92555c9d0fb1..e91d5109467c3b0f3fbb4840e321434559401cb4 100644 (file)
@@ -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