about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-25 15:26:59 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-25 15:26:59 +0100
commit146287331a77adbb0e8d0657a24b6669ca63ac53 (patch)
tree2514786a6a3ada5b596d863e85ceb5d426daa4aa
parent490dcac380671314be0f2fc7f7ee4b1fb64e8f80 (diff)
downloadbox64-146287331a77adbb0e8d0657a24b6669ca63ac53.tar.gz
box64-146287331a77adbb0e8d0657a24b6669ca63ac53.zip
[DYNAREC] Oops, fixed the mess with 66 REX 0F opcodes introduced earlier
-rwxr-xr-xsrc/dynarec/dynarec_arm64_66.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_arm64_66.c b/src/dynarec/dynarec_arm64_66.c
index d1c16122..fb11067e 100755
--- a/src/dynarec/dynarec_arm64_66.c
+++ b/src/dynarec/dynarec_arm64_66.c
@@ -51,7 +51,7 @@ uintptr_t dynarec64_66(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
         opcode = F8;

     }

 

-    if(rex.w)

+    if(rex.w && opcode!=0x0f)   // rex.w cancels "66", but not for 66 0f type of prefix

         return dynarec64_00(dyn, addr-1, ip, ninst, rex, rep, ok, need_epilog);

 

     switch(opcode) {