Mark Wielaard c426cf
commit 5343bb38f44897fcb179b4756d75294719d75fbb
Mark Wielaard c426cf
Author: mjw <mjw@8f6e269a-dfd6-0310-a8e1-e2731360e62c>
Mark Wielaard c426cf
Date:   Sat Oct 11 19:13:35 2014 +0000
Mark Wielaard c426cf
Mark Wielaard c426cf
    Bug 339858 arm64 recognize dmb sy. Data Memory Barrier full SYstem variant.
Mark Wielaard c426cf
    
Mark Wielaard c426cf
    git-svn-id: svn://svn.valgrind.org/vex/trunk@2975 8f6e269a-dfd6-0310-a8e1-e2731360e62c
Mark Wielaard c426cf
Mark Wielaard c426cf
diff --git a/VEX/priv/guest_arm64_toIR.c b/VEX/priv/guest_arm64_toIR.c
Mark Wielaard c426cf
index 2aa145c..5ebe0a6 100644
Mark Wielaard c426cf
--- a/VEX/priv/guest_arm64_toIR.c
Mark Wielaard c426cf
+++ b/VEX/priv/guest_arm64_toIR.c
Mark Wielaard c426cf
@@ -5537,6 +5537,11 @@ Bool dis_ARM64_branch_etc(/*MB_OUT*/DisResult* dres, UInt insn,
Mark Wielaard c426cf
       DIP("isb\n");
Mark Wielaard c426cf
       return True;
Mark Wielaard c426cf
    }
Mark Wielaard c426cf
+   if (INSN(31,0) == 0xD5033FBF) {
Mark Wielaard c426cf
+      stmt(IRStmt_MBE(Imbe_Fence));
Mark Wielaard c426cf
+      DIP("dmb sy\n");
Mark Wielaard c426cf
+      return True;
Mark Wielaard c426cf
+   }
Mark Wielaard c426cf
    if (INSN(31,0) == 0xD5033BBF) {
Mark Wielaard c426cf
       stmt(IRStmt_MBE(Imbe_Fence));
Mark Wielaard c426cf
       DIP("dmb ish\n");