about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-25 15:50:02 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-25 15:50:02 +0100
commit1e451e3353e5b75e20fe023cff321517b83d34f1 (patch)
treee4451af0b59e1bba95445e087b2d19405aef3148 /src
parent207f829066d08556b46e22da85d6420ba377e9f2 (diff)
downloadbox64-1e451e3353e5b75e20fe023cff321517b83d34f1.tar.gz
box64-1e451e3353e5b75e20fe023cff321517b83d34f1.zip
[DYNAREC] Added 0F 0B opcode
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dynarec/dynarec_arm64_0f.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_arm64_0f.c b/src/dynarec/dynarec_arm64_0f.c
index 3ebf3cd7..d749abdb 100755
--- a/src/dynarec/dynarec_arm64_0f.c
+++ b/src/dynarec/dynarec_arm64_0f.c
@@ -91,7 +91,11 @@ uintptr_t dynarec64_0F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
 

     switch(opcode) {

 

-

+        case 0x0B:

+            INST_NAME("UD2");

+            SETFLAGS(X_ALL, SF_SET);    // Hack to set flags in "don't care" state

+            CALL(arm_ud, -1);

+            break;

 

         case 0x10:

             INST_NAME("MOVUPS Gx,Ex");