https://bugs.kde.org/show_bug.cgi?id=434193

--- Comment #6 from Julian Seward <jsew...@acm.org> ---
Here's my proposed fix.  It works for your test case on x86_64
but I didn't test it on arm64.  Does it work for you?

diff --git a/memcheck/mc_translate.c b/memcheck/mc_translate.c
index 516988bdd..759f00b3a 100644
--- a/memcheck/mc_translate.c
+++ b/memcheck/mc_translate.c
@@ -8590,12 +8590,14 @@ IRSB* MC_(instrument) ( VgCallbackClosure* closure,
 #     elif defined(VGA_amd64)
       mce.dlbo.dl_Add32           = DLexpensive;
       mce.dlbo.dl_Add64           = DLauto;
+      mce.dlbo.dl_CmpEQ16_CmpNE16 = DLexpensive;
       mce.dlbo.dl_CmpEQ32_CmpNE32 = DLexpensive;
       mce.dlbo.dl_CmpEQ64_CmpNE64 = DLexpensive;
 #     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_CmpEQ16_CmpNE16 = DLexpensive;
       mce.dlbo.dl_CmpEQ64_CmpNE64 = DLexpensive;
 #     endif

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to